@@ -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 | */  | 
                                                        
@@ -99,7 +99,7 @@  | 
                                                    ||
| 99 | 99 | */  | 
                                                        
| 100 | 100 | private function escapeScriptTagContents($html)  | 
                                                        
| 101 | 101 |      { | 
                                                        
| 102 | -        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function ($matches) | 
                                                        |
| 102 | +        return preg_replace_callback('#(<script.*>)(.*)(</script>)#isU', function($matches) | 
                                                        |
| 103 | 103 |          { | 
                                                        
| 104 | 104 |              return $matches[1] . str_replace('</', '<\/', $matches[2]) . $matches[3]; | 
                                                        
| 105 | 105 | }, $html);  |