@@ -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 | } |