diff --git a/modules/UI/videolayout/LocalVideo.js b/modules/UI/videolayout/LocalVideo.js index 0a6c49c5b..51fa47d26 100644 --- a/modules/UI/videolayout/LocalVideo.js +++ b/modules/UI/videolayout/LocalVideo.js @@ -130,6 +130,8 @@ LocalVideo.prototype.setDisplayName = function(displayName, key) { }; LocalVideo.prototype.inputDisplayNameHandler = function (name) { + name = UIUtil.escapeHtml(name); + NicknameHandler.setNickname(name); var localDisplayName = $('#localDisplayName');