diff --git a/code/__HELPERS/_cit_helpers.dm b/code/__HELPERS/_cit_helpers.dm index a26b9285d4..4ae30838e4 100644 --- a/code/__HELPERS/_cit_helpers.dm +++ b/code/__HELPERS/_cit_helpers.dm @@ -115,7 +115,7 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE) var/new_flavor = stripped_multiline_input(usr, "Set the flavor text in your 'examine' verb. This can also be used for OOC notes and preferences!", "Flavor Text", flavor_text, MAX_FAVOR_LEN, TRUE) if(!isnull(new_flavor)) - flavor_text = new_flavor + flavor_text = html_decode(new_flavor) to_chat(src, "Your flavor text has been updated.") //Flavor Text @@ -126,7 +126,7 @@ GLOBAL_VAR_INIT(miscreants_allowed, FALSE) var/new_flavor = stripped_multiline_input(usr, "Set the temporary flavor text in your 'examine' verb. This should be used only for things pertaining to the current round!", "Short-Term Flavor Text", flavor_text_2, MAX_FAVOR_LEN, TRUE) if(!isnull(new_flavor)) - flavor_text_2 = new_flavor + flavor_text_2 = html_decode(new_flavor) to_chat(src, "Your temporary flavor text has been updated.") /mob/proc/print_flavor_text(flavor,temp = FALSE) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 793a72c1f7..cc52cfd123 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -1474,8 +1474,8 @@ GLOBAL_LIST_EMPTY(preferences_datums) if("flavor_text") 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", features["flavor_text"], MAX_FAVOR_LEN, TRUE) - if(msg) - features["flavor_text"] = msg + if(!isnull(new_flavor)) + features["flavor_text"] = html_decode(msg) if("hair") var/new_hair = input(user, "Choose your character's hair colour:", "Character Preference","#"+hair_color) as color|null