From: Gabriel Wicke Date: Mon, 12 Apr 2004 18:49:55 +0000 (+0000) Subject: doBlockLevels after unstrip to avoid wrapping templates in p's (which is often invalid) X-Git-Tag: 1.3.0beta1~448 X-Git-Url: http://git.cyclocoop.org/%27%20.generer_url_ecrire%28_request%28%27exec%27%29%2C%27cmd=switch&outil=rss_couteau_suisse%27%29.%27?a=commitdiff_plain;h=37e1db3273af79e1e9047f781f665b5dc4f557b9;p=lhc%2Fweb%2Fwiklou.git doBlockLevels after unstrip to avoid wrapping templates in p's (which is often invalid) --- diff --git a/includes/Parser.php b/includes/Parser.php index 5594f9efaf..7ba1096ee5 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -92,8 +92,8 @@ class Parser $text = $this->strip( $text, $this->mStripState ); $text = $this->internalParse( $text, $linestart ); # only once and next-to-last - $text = $this->doBlockLevels( $text, $linestart ); $text = $this->unstrip( $text, $this->mStripState ); + $text = $this->doBlockLevels( $text, $linestart ); # Clean up special characters, only run once and last $fixtags = array( "/
/i" => '
',