--- a/Censorship.php Mon Dec 12 23:33:12 2011 -0500
+++ b/Censorship.php Mon Dec 12 23:34:49 2011 -0500
@@ -20,7 +20,7 @@
return;
// save HTML tags
- $text = preg_split('/(<(?:[a-z\/].+?|!--.+?--)>|<script[^>]*>.*?<\/script>|<a class="downloadbutton.*?<\/a>)/m', $text, NULL, PREG_SPLIT_DELIM_CAPTURE);
+ $text = preg_split('/(<a class="downloadbutton.*?<\/a>|<script[^>]*>.*?<\/script>|<(?:[a-z\/].+?|!--.+?--)>)/m', $text, NULL, PREG_SPLIT_DELIM_CAPTURE);
foreach ( $text as &$block )
{
if ( strlen($block) < 1 )