Don't html-ize high rank admins in Discord. (#25117)

* More escaping fixes.

* Update code/__HELPERS/text.dm

Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>

---------

Signed-off-by: Charlie Nolan <funnyman3595@gmail.com>
Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman@google.com>
Co-authored-by: GDN <96800819+GDNgit@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Charlie Nolan
2024-05-06 03:19:14 +00:00
committed by GitHub
co-authored by GDN DGamerL FunnyMan3595
parent 819e9ed064
commit a5d780e4d7
12 changed files with 29 additions and 52 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ GLOBAL_DATUM_INIT(major_announcement, /datum/announcer, new(config_type = /datum
var/message_sound2 = new_sound2 ? sound(new_sound2) : null
if(!msg_sanitized)
message = trim_strip_html_properly(message, allow_lines = TRUE)
message = html_encode(message)
var/datum/language/message_language = GLOB.all_languages[msg_language ? msg_language : language]