# HG changeset patch # User Dan # Date 1201579598 18000 # Node ID 2c6ef58e315a8782ec930498fec6c35d75fe4e27 # Parent b8fd21190ae162ead8fe0361109fd3ae8b8a3088# Parent 35f9d6c93eec48530d4b432ccafd74f1fdf6b0be Re-applying the revision with the comment fix (bad merge a couple revs back) diff -r b8fd21190ae1 -r 2c6ef58e315a includes/functions.php --- a/includes/functions.php Wed Jan 23 19:36:42 2008 -0500 +++ b/includes/functions.php Mon Jan 28 23:06:38 2008 -0500 @@ -1791,7 +1791,7 @@ // Debugging message // echo htmlspecialchars($full_tag) . '
'; - if ( !in_array($tag_name, $tag_whitelist) ) + if ( !in_array($tag_name, $tag_whitelist) && substr($tag_name, 0, 3) != '!--' ) { // Illegal tag //echo $tag_name . ' ';