Don't unstrip() in internalParse(), because it's already done in parse().
authorWil Mahan <wmahan@users.mediawiki.org>
Wed, 22 Sep 2004 20:04:11 +0000 (20:04 +0000)
committerWil Mahan <wmahan@users.mediawiki.org>
Wed, 22 Sep 2004 20:04:11 +0000 (20:04 +0000)
This fixes <nowiki>*list item</nowiki>, which was caught thanks to the
parser tester. :)

includes/Parser.php

index 0a4357b..32dbc40 100644 (file)
@@ -667,9 +667,6 @@ class Parser
                # Another call to replace links and images inside captions of images
                $text = $this->replaceInternalLinks ( $text );
 
-               $text = $this->unstrip( $text, $this->mStripState );
-               $text = $this->unstripNoWiki( $text, $this->mStripState );
-
                $text = $this->doTableStuff( $text );
                $text = $this->formatHeadings( $text, $isMain );
                $sk =& $this->mOptions->getSkin();