mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Help tickets: Escape HTML in lock reason
This commit is contained in:
parent
7bd04f470c
commit
50ad403c5c
|
|
@ -1365,7 +1365,7 @@ export const textTickets: { [k: string]: TextTicketInfo } = {
|
|||
const str = ipPunishments.map(p => (
|
||||
`${Punishments.punishmentTypes.get(p.type)?.desc || p.type} as ` +
|
||||
`<a href="https://${Config.routes.root}/users/${p.id}">${p.id}</a>` +
|
||||
`${p.reason ? ` (${p.reason})` : ''}`
|
||||
(p.reason ? Utils.html` (${p.reason})` : '')
|
||||
));
|
||||
if (str) buf += `Punishments: ${str.join(' | ')}<br />`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user