fixHTML of user and team names in translation key

pull/1/head
David Benqué 5 years ago
parent f548266746
commit 091ffc6070

@ -1179,7 +1179,8 @@ define([
]));
$div.append(UI.setHTML(h('p.cp-teams-invite-to'),
Messages._getKey('team_inviteFromMsg',
[json.author.displayName, json.teamName]))); // XXX
[Util.fixHTML(json.author.displayName),
Util.fixHTML(json.teamName)]))); // XXX
if (json.message) {
$div.append(h('div.cp-teams-invite-message', json.message));
}

Loading…
Cancel
Save