diff --git a/www/profile/inner.js b/www/profile/inner.js index 099a2d81b..a37991ad9 100644 --- a/www/profile/inner.js +++ b/www/profile/inner.js @@ -299,7 +299,7 @@ define([ $(muteButton).click(function () { module.execCommand('MUTE_USER', { curvePublic: data.curvePublic, - name: data.displayName || data.name, + name: Util.fixHTML(data.displayName || data.name), avatar: data.avatar }, function (e) { if (e) { console.error(e); return void UI.warn(Messages.error); }