From 0d888091035f79e79ab79345dea059c5b415f9d9 Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Tue, 28 Dec 2004 10:27:29 +0000 Subject: [PATCH] HTML comments handler --- includes/ParserXML.php | 4 ++++ 1 file changed, 4 insertions(+) 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 ) ; -- 2.20.1