Fix HTML escaping for battle joins/leaves (#1542)

This commit is contained in:
Annika
2020-07-03 22:26:43 -07:00
committed by GitHub
parent fdca8fe5dc
commit 1bd36e48ab

View File

@@ -101,7 +101,7 @@ class BattleLog {
case 'join': case 'j': case 'leave': case 'l': {
const user = BattleTextParser.parseNameParts(args[1]);
const formattedUser = BattleLog.escapeHTML(user.group + user.name);
const formattedUser = user.group + user.name;
const isJoin = (args[0].charAt(0) === 'j');
if (!this.joinLeave) {
this.joinLeave = {