@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | class HtmlMatcher extends DiagnosingMatcher |
10 | 10 | { |
11 | - /** |
|
11 | + /** |
|
12 | 12 | * @link http://www.xmlsoft.org/html/libxml-xmlerror.html#xmlParserErrors |
13 | 13 | * @link https://github.com/Chronic-Dev/libxml2/blob/683f296a905710ff285c28b8644ef3a3d8be9486/include/libxml/xmlerror.h#L257 |
14 | 14 | */ |
@@ -100,7 +100,7 @@ |
||
100 | 100 | */ |
101 | 101 | private function escapeScriptTagContents($html) |
102 | 102 | { |
103 | - return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function ($matches) { |
|
103 | + return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function($matches) { |
|
104 | 104 | return $matches[1] . str_replace('</', '<\/', $matches[2]) . $matches[3]; |
105 | 105 | }, $html); |
106 | 106 | } |