equal
deleted
inserted
replaced
1829 $attribs_only = trim( substr($full_tag, $l, ( strlen($full_tag) - $l - 1 ) ) ); |
1829 $attribs_only = trim( substr($full_tag, $l, ( strlen($full_tag) - $l - 1 ) ) ); |
1830 |
1830 |
1831 // Debugging message |
1831 // Debugging message |
1832 // echo htmlspecialchars($full_tag) . '<br />'; |
1832 // echo htmlspecialchars($full_tag) . '<br />'; |
1833 |
1833 |
1834 if ( !in_array($tag_name, $tag_whitelist) ) |
1834 if ( !in_array($tag_name, $tag_whitelist) && substr($tag_name, 0, 3) != '!--' ) |
1835 { |
1835 { |
1836 // Illegal tag |
1836 // Illegal tag |
1837 //echo $tag_name . ' '; |
1837 //echo $tag_name . ' '; |
1838 |
1838 |
1839 $s = ( empty($attribs_only) ) ? '' : ' '; |
1839 $s = ( empty($attribs_only) ) ? '' : ' '; |