diff --git a/src/Subscriber/LazyloadSubscriber.php b/src/Subscriber/LazyloadSubscriber.php index 7f451da..71e12d5 100644 --- a/src/Subscriber/LazyloadSubscriber.php +++ b/src/Subscriber/LazyloadSubscriber.php @@ -371,6 +371,6 @@ public function lazyloadSmilies() */ private function ignoreScripts($html) { - return preg_replace('/]*)>(?:.+)?<\/script>/msi', '', $html); + return preg_replace('/]*)>(?:.+)?<\/script>/mi', '', $html); } }