Skip to content

Node.js based forum software built for the modern web

closes #4306

Barış Soner Uşaklı6828d4c23920
diff --git a/public/src/client/chats.js b/public/src/client/chats.js
index 280123d4c0..9046318212 100644
--- a/public/src/client/chats.js
+++ b/public/src/client/chats.js
@@ -242,7 +242,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
if (data.users && data.users.length) {
data.users.forEach(function(user) {
- tagEl.tagsinput('add', user.username);
+ tagEl.tagsinput('add', $('<div/>').html(user.username).text());
});
}