Fix psi commune sanitization (#21405)

see title

tgui_input_text already html_encodes the result by default, so we were
double-encoding our text and causing it to look garbage
This commit is contained in:
Wildkins
2025-09-29 20:03:27 +00:00
committed by GitHub
parent a41229a0b1
commit 087703550e
2 changed files with 13 additions and 1 deletions
@@ -43,7 +43,6 @@
user.visible_message(SPAN_NOTICE("<i>[user] blinks, their eyes briefly developing an unnatural shine.</i>"))
var/text = tgui_input_text(user, "What would you like to say?", "Commune", "", MAX_MESSAGE_LEN, TRUE)
text = sanitize(text)
if(!text)
return
text = formalize_text(text)