mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Announcements: Mark formatted text as trusted
This commit is contained in:
parent
f4d53c0e37
commit
2e4eaf97e7
|
|
@ -90,7 +90,7 @@ export const commands: ChatCommands = {
|
|||
return this.errorReply(this.tr`There is already a poll or announcement in progress in this room.`);
|
||||
}
|
||||
|
||||
const source = supportHTML ? this.checkHTML(target) : Chat.formatText(target);
|
||||
const source = supportHTML ? this.checkHTML(target) : Chat.formatText(target, true);
|
||||
|
||||
room.setMinorActivity(new Announcement(room, {source}));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user