mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user