From: Magnus Manske Date: Tue, 28 Dec 2004 10:27:29 +0000 (+0000) Subject: HTML comments handler X-Git-Tag: 1.5.0alpha1~1023 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=0d888091035f79e79ab79345dea059c5b415f9d9;p=lhc%2Fweb%2Fwiklou.git HTML comments handler --- diff --git a/includes/ParserXML.php b/includes/ParserXML.php index 83f4c09904..5489496a2a 100644 --- a/includes/ParserXML.php +++ b/includes/ParserXML.php @@ -218,6 +218,10 @@ class element { else if ( $n == "STRIKE" ) $ret .= $this->sub_makeXHTML ( $parser , "strike" ) ; + # HTML comment + else if ( $n == "COMMENT" ) + $ret .= "" ; # Comments are parsed out + # Links else if ( $n == "LINK" ) $ret .= $this->makeInternalLink ( $parser ) ;