equal
deleted
inserted
replaced
1931 // echo $i . ' '; |
1931 // echo $i . ' '; |
1932 $chr = $html{$i}; |
1932 $chr = $html{$i}; |
1933 $prev = ( $i == 0 ) ? '' : $html{ $i - 1 }; |
1933 $prev = ( $i == 0 ) ? '' : $html{ $i - 1 }; |
1934 $next = ( ( $i + 1 ) == $len ) ? '' : $html { $i + 1 }; |
1934 $next = ( ( $i + 1 ) == $len ) ? '' : $html { $i + 1 }; |
1935 $tag_name .= $chr; |
1935 $tag_name .= $chr; |
1936 if ( $next == '>' ) |
1936 if ( $next == '>' || $i > strlen($html) ) |
1937 break; |
1937 break; |
1938 } |
1938 } |
1939 // echo '<br />'; |
1939 // echo '<br />'; |
1940 if ( in_array($tag_name, $block_tags) ) |
1940 if ( in_array($tag_name, $block_tags) ) |
1941 { |
1941 { |