diff --git a/public/js/cryptalk_modules/cryptalk.js b/public/js/cryptalk_modules/cryptalk.js index e0e552a..41a0c12 100644 --- a/public/js/cryptalk_modules/cryptalk.js +++ b/public/js/cryptalk_modules/cryptalk.js @@ -361,7 +361,7 @@ define({ title: function (payload) { win.setTitle(payload); - return post('info', $.template(templates.messages.title_set, { title: payload})); + return post('info', $.template(templates.messages.title_set, { title: $.escapeHtml(payload)})); }, join: function (payload) {