diff --git a/bridges/WordPressBridge.php b/bridges/WordPressBridge.php index 27afe0e..0ba1851 100644 --- a/bridges/WordPressBridge.php +++ b/bridges/WordPressBridge.php @@ -49,8 +49,9 @@ class WordPressBridge extends BridgeAbstract { } function ClearContent($content) { - $content = preg_replace('//', '', $content); + $content = preg_replace('/]*>[^<]*<\/script>/', '', $content); $content = preg_replace('/
/', '', $content); return $content; }