fixHTML of user and team names in translation key

pull/1/head
David Benqué 2019-12-18 13:08:15 +00:00
parent f548266746
commit 091ffc6070
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}