From 091ffc607008209438867ac6b66e96a5f5dbaa65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Wed, 18 Dec 2019 13:08:15 +0000 Subject: [PATCH] fixHTML of user and team names in translation key --- www/teams/inner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/teams/inner.js b/www/teams/inner.js index dc16e0b30..f11a5e26b 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -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)); }