Completed
Push — master ( ed92f4...60669a )
by Daniel
03:02
created
code/HTML5Value.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@  discard block
 block discarded – undo
4 4
 {
5 5
     public function setContent($content)
6 6
     {
7
-        require_once(HTML5LIB_PATH.'/HTML5/Parser.php');
7
+        require_once(HTML5LIB_PATH . '/HTML5/Parser.php');
8 8
 
9 9
         // Convert any errors to exceptions
10 10
         set_error_handler(
11
-            function ($no, $str) {
12
-                throw new Exception("HTML Parse Error: ".$str);
11
+            function($no, $str) {
12
+                throw new Exception("HTML Parse Error: " . $str);
13 13
             },
14 14
             error_reporting()
15 15
         );
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         // Use HTML5lib to parse the HTML fragment
18 18
         try {
19 19
             $document = HTML5_Parser::parse(
20
-                '<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>'.
20
+                '<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>' .
21 21
                 "<body>$content</body></html>"
22 22
             );
23 23
         } catch (Exception $e) {
Please login to merge, or discard this patch.