Co-authored-by: FunnyMan3595 (Charlie Nolan) <funnyman@google.com>
This commit is contained in:
Charlie Nolan
2024-04-21 12:45:47 -07:00
committed by GitHub
parent 9e6dcf9c46
commit 4f8d91a316

View File

@@ -719,7 +719,7 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
set category = "IC"
msg = copytext(msg, 1, MAX_MESSAGE_LEN)
msg = sanitize(msg, list("\n" = "<BR>"))
msg = sanitize_simple(html_encode(msg), list("\n" = "<br>"))
var/combined = length(memory + msg)
if(mind && (combined < MAX_PAPER_MESSAGE_LEN))