[MIRROR] Encode changes (#11301)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-05 01:23:19 +02:00
committed by GitHub
co-authored by Kashargul
parent 5e6a4639d0
commit 4e2361f8df
202 changed files with 370 additions and 408 deletions
+2 -2
View File
@@ -130,7 +130,7 @@
else if(href_list["import"])
var/t = ""
do
t = html_encode(tgui_input_text(usr, "Please paste the entire song, formatted:", text("[]", name), t, multiline = TRUE, prevent_enter = TRUE))
t = tgui_input_text(usr, "Please paste the entire song, formatted:", text("[]", name), t, multiline = TRUE, prevent_enter = TRUE)
if(!in_range(parent, usr))
return
@@ -163,7 +163,7 @@
INVOKE_ASYNC(src, PROC_REF(start_playing), usr)
else if(href_list["newline"])
var/newline = html_encode(tgui_input_text(usr, "Enter your line: ", parent.name))
var/newline = tgui_input_text(usr, "Enter your line: ", parent.name)
if(!newline || !in_range(parent, usr))
return
if(lines.len > MUSIC_MAXLINES)