Re-applying the revision with the comment fix (bad merge a couple revs back)
authorDan
Mon, 28 Jan 2008 23:06:38 -0500
changeset 451 2c6ef58e315a
parent 449 b8fd21190ae1 (current diff)
parent 450 35f9d6c93eec (diff)
child 452 b6faa6d6ade2
Re-applying the revision with the comment fix (bad merge a couple revs back)
--- 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) . '<br />';
 
-      if ( !in_array($tag_name, $tag_whitelist) )
+      if ( !in_array($tag_name, $tag_whitelist) && substr($tag_name, 0, 3) != '!--' )
       {
         // Illegal tag
         //echo $tag_name . ' ';