X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fparser%2FParserOutput.php;h=3480a51f3c3ad7624dee2fe5b087aeaabb554293;hb=a8379682a46a428320c88702c800a6107c015137;hp=06319e5575eaadf2a2b9215b1139243df6819907;hpb=d400024d28aba2fe50dfad64e38bc68f727bae63;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 06319e5575..3480a51f3c 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -259,7 +259,7 @@ class ParserOutput extends CacheTime { global $wgOut, $wgLang; $editsectionPage = Title::newFromText( htmlspecialchars_decode( $m[1] ) ); $editsectionSection = htmlspecialchars_decode( $m[2] ); - $editsectionContent = isset( $m[4] ) ? $m[3] : null; + $editsectionContent = isset( $m[4] ) ? Sanitizer::decodeCharReferences( $m[3] ) : null; if ( !is_object( $editsectionPage ) ) { throw new MWException( "Bad parser output text." );