1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Properly encode username in tab menu tabs

This commit is contained in:
Maximilian Mader 2014-12-18 15:58:55 +01:00
parent fed02ce18b
commit b9f5f46df9

View File

@ -992,7 +992,7 @@ Open private channel
avatar = $ userList.allTime[userID].avatar[16]
avatar = $('<span class="userAvatar framed" />').wrapInner avatar
avatar.append "<span>#{userList.allTime[userID].username}</span>"
avatar.append "<span>#{WCF.String.escapeHTML userList.allTime[userID].username}</span>"
anchor.wrapInner avatar
anchor.prepend '<span class="icon icon16 icon-warning-sign notifyIcon"></span>'