equal
deleted
inserted
replaced
1789 $attribs_only = trim( substr($full_tag, $l, ( strlen($full_tag) - $l - 1 ) ) ); |
1789 $attribs_only = trim( substr($full_tag, $l, ( strlen($full_tag) - $l - 1 ) ) ); |
1790 |
1790 |
1791 // Debugging message |
1791 // Debugging message |
1792 // echo htmlspecialchars($full_tag) . '<br />'; |
1792 // echo htmlspecialchars($full_tag) . '<br />'; |
1793 |
1793 |
1794 if ( !in_array($tag_name, $tag_whitelist) ) |
1794 if ( !in_array($tag_name, $tag_whitelist) && substr($tag_name, 0, 3) != '!--' ) |
1795 { |
1795 { |
1796 // Illegal tag |
1796 // Illegal tag |
1797 //echo $tag_name . ' '; |
1797 //echo $tag_name . ' '; |
1798 |
1798 |
1799 $s = ( empty($attribs_only) ) ? '' : ' '; |
1799 $s = ( empty($attribs_only) ) ? '' : ' '; |