# HG changeset patch # User Dan Fuhry # Date 1323750792 18000 # Node ID 4994af009663a81f13923da66dd21958296069fb # Parent 28a899aa460e1146e9ccdfaead9b8d8ec6da0e72 That should have been multiline-safe diff -r 28a899aa460e -r 4994af009663 Censorship.php --- a/Censorship.php Mon Dec 12 23:30:52 2011 -0500 +++ b/Censorship.php Mon Dec 12 23:33:12 2011 -0500 @@ -20,7 +20,7 @@ return; // save HTML tags - $text = preg_split('/(<(?:[a-z\/].+?|!--.+?--)>|]*>[\w\W]*?<\/script>|)/m', $text, NULL, PREG_SPLIT_DELIM_CAPTURE); foreach ( $text as &$block ) { if ( strlen($block) < 1 )