Merge "Move call of Sanitizer::decodeCharReferences from Skin to Parser"
[lhc/web/wiklou.git] / includes / skins / Skin.php
index f9090e1..54bba30 100644 (file)
@@ -1609,7 +1609,7 @@ abstract class Skin extends ContextSource {
 
                $result .= implode(
                        '<span class="mw-editsection-divider">'
-                               . wfMessage( 'pipe-separator' )->inLanguage( $lang )->text()
+                               . wfMessage( 'pipe-separator' )->inLanguage( $lang )->escaped()
                                . '</span>',
                        $linksHtml
                );