Fix for <poem> after r62416

This commit is contained in:
Conrad Irwin 2010-02-13 14:41:04 +00:00
parent a9ec2b1493
commit 26d1b34771

View file

@ -392,9 +392,13 @@ class Parser
}
$this->mStripState->general->setPair( $marker, $output );
}
$text = $this->mStripState->unstripGeneral( $text );
}
# This was originally inserted for transparent tag hooks (now deprecated)
# but some extensions (notably <poem>) rely on the extra unstripGeneral()
# after unstripNoWiki() so they can modify the contents of <nowiki> tags.
$text = $this->mStripState->unstripGeneral( $text );
$text = Sanitizer::normalizeCharReferences( $text );
if ( ( $wgUseTidy && $this->mOptions->mTidy ) || $wgAlwaysUseTidy ) {