includes/functions.php
changeset 381 b4751b55ee92
parent 378 c1c7fa6b329f
child 382 2ccb55995aef
--- a/includes/functions.php	Sun Jan 27 23:17:15 2008 -0500
+++ b/includes/functions.php	Sun Jan 27 23:44:02 2008 -0500
@@ -1831,7 +1831,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 . ' ';