mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-25 03:09:37 +00:00
Merge "Escape message used in html"
This commit is contained in:
commit
cc1a3aaa6b
|
@ -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' ],
|
||||
|
|
|
@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue