Merge "Escape message used in html"

This commit is contained in:
jenkins-bot 2018-08-16 00:16:09 +00:00 committed by Gerrit Code Review
commit cc1a3aaa6b
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ class SpecialNotificationsFormatter extends EchoEventFormatter {
);
}
$pipe = wfMessage( 'pipe-separator' )->inLanguage( $this->language )->escaped();
$pipe = wfMessage( 'pipe-separator' )->inLanguage( $this->language )->text();
$html .= Xml::tags(
'div',
[ 'class' => 'mw-echo-notification-footer' ],

View file

@ -173,7 +173,7 @@ class SpecialDisplayNotificationsConfiguration extends UnlistedSpecialPage {
Html::rawElement(
'li',
[],
$this->categoryNames[$categoryName] . $this->msg( 'colon-separator' )->text() . ' ' . $implodedTypes
$this->categoryNames[$categoryName] . $this->msg( 'colon-separator' )->escaped() . ' ' . $implodedTypes
)
);
}