From 1d4ae5196cf364dfd9f9cdcff1e2880caebd17ce Mon Sep 17 00:00:00 2001 From: deathride58 Date: Mon, 13 Nov 2017 17:00:26 -0500 Subject: [PATCH] it works :+1: --- code/modules/client/preferences.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index be4aa67113..fac42b0787 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -938,10 +938,9 @@ GLOBAL_LIST_EMPTY(preferences_datums) age = max(min( round(text2num(new_age)), AGE_MAX),AGE_MIN) if("flavor_text") - var/msg = input(usr,"Set the flavor text in your 'examine' verb. This can also be used for OOC notes and preferences!","Flavor Text",html_decode(features["flavor_text"])) as message + var/msg = stripped_multiline_input(usr,"Set the flavor text in your 'examine' verb. This can also be used for OOC notes and preferences!","Flavor Text",html_decode(features["flavor_text"]), MAX_MESSAGE_LEN*2, TRUE) as message if(msg != null) - msg = sanitize(copytext(msg, 1, MAX_MESSAGE_LEN)) - msg = html_encode(msg) + msg = copytext(msg, 1, MAX_MESSAGE_LEN*2) features["flavor_text"] = msg if("metadata")