allow del and ins, other xhtml tags might be worth to allow as well (acronym and...
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 17:04:22 +0000 (17:04 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 19 Apr 2004 17:04:22 +0000 (17:04 +0000)
includes/Parser.php

index f7c602a..dd17a17 100644 (file)
@@ -1431,7 +1431,7 @@ class Parser
                $fname = "Parser::removeHTMLtags";
                wfProfileIn( $fname );
                $htmlpairs = array( # Tags that must be closed
-                       "b", "i", "u", "font", "big", "small", "sub", "sup", "h1",
+                       "b", "del", "i", "ins", "u", "font", "big", "small", "sub", "sup", "h1",
                        "h2", "h3", "h4", "h5", "h6", "cite", "code", "em", "s",
                        "strike", "strong", "tt", "var", "div", "center",
                        "blockquote", "ol", "ul", "dl", "table", "caption", "pre",