diff -r f0eee185880a -r ec1c93c59c2c includes/functions.php --- a/includes/functions.php Sat Aug 22 13:30:39 2009 -0400 +++ b/includes/functions.php Sat Aug 22 13:31:09 2009 -0400 @@ -1933,7 +1933,7 @@ $prev = ( $i == 0 ) ? '' : $html{ $i - 1 }; $next = ( ( $i + 1 ) == $len ) ? '' : $html { $i + 1 }; $tag_name .= $chr; - if ( $next == '>' ) + if ( $next == '>' || $i > strlen($html) ) break; } // echo '
';