readd_quotes() for TGUI Text Input

This commit is contained in:
Casey
2022-06-22 22:22:32 -04:00
committed by Darlantan
parent e69110c2f9
commit 78f8b46e7d
4 changed files with 260 additions and 11 deletions
+1
View File
@@ -150,6 +150,7 @@
/datum/tgui_input_text/proc/set_entry(entry)
if(!isnull(entry))
var/converted_entry = encode ? html_encode(entry) : entry
converted_entry = readd_quotes(converted_entry)
src.entry = trim(converted_entry, max_length)
/**