mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 14:52:36 -05:00
Fix HTML escaping for battle joins/leaves (#1542)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user