Fix for <poem> after r62416
This commit is contained in:
parent
a9ec2b1493
commit
26d1b34771
1 changed files with 5 additions and 1 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue