mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Block reason messages escape HTML
The block reason in the block message has escaped HTML. This HTML should be rendered to the user. Bug: T190901 Change-Id: Icda7c5d0c76aff7c22f3a6735d880a5ee49338ff
This commit is contained in:
parent
6cfa2c9380
commit
6bea4324c6
|
@ -298,7 +298,8 @@
|
|||
popup.show(
|
||||
mw.msg(
|
||||
'mobile-frontend-editor-blocked-info-loggedin',
|
||||
blockInfo.blockReason,
|
||||
// Strip any html in the blockReason.
|
||||
$( '<div />' ).html( blockInfo.blockReason ).text(),
|
||||
blockInfo.blockedBy
|
||||
),
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue