Merge "Block reason messages escape HTML"

This commit is contained in:
jenkins-bot 2018-03-29 21:34:34 +00:00 committed by Gerrit Code Review
commit 121958bea1
1 changed files with 2 additions and 1 deletions

View File

@ -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
),
{