mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Properly encode username in tab menu tabs
This commit is contained in:
parent
fed02ce18b
commit
b9f5f46df9
@ -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>'
|
||||
|
Loading…
Reference in New Issue
Block a user