Skin.php: HTML escape message pipe-separator
[lhc/web/wiklou.git] / includes / skins / Skin.php
index df7a9ed..eaee0d2 100644 (file)
@@ -1611,7 +1611,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
                );