Skip to content

Commit

Permalink
remove the s flag from the pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
remyperona committed Jan 16, 2019
1 parent 43ffa19 commit 7b4fb8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscriber/LazyloadSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,6 @@ public function lazyloadSmilies()
*/
private function ignoreScripts($html)
{
return preg_replace('/<script\b(?:[^>]*)>(?:.+)?<\/script>/msi', '', $html);
return preg_replace('/<script\b(?:[^>]*)>(?:.+)?<\/script>/mi', '', $html);
}
}

0 comments on commit 7b4fb8f

Please sign in to comment.