Comments removal
[squirrelmail.git] / functions / mime.php
index 194f82fc5012bb672528a3218b1ee99c26e113af..42c6942b5cd38a681fd6a3efbdc6a6d4c775c49f 100644 (file)
@@ -1200,7 +1200,7 @@ function isNoSep( $char ) {
 
 function stripComments( &$i, $j, &$body ) {
 
-    while ( $body{$i}.$body{$i+1}.$body{$i+2}.$body{$i+3} == '<!--' &&
+    while ( $body{$i}.$body{$i+1} == '<!' &&
            $i < $j ) {
         $i += 5;
         while ( $body{$i-2}.$body{$i-1}.$body{$i} <> '-->' &&