@@ -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); |