From 5db2b348ff07391eae8239be9eebeb87c7a4e30b Mon Sep 17 00:00:00 2001 From: S34N <12197162+S34NW@users.noreply.github.com> Date: Fri, 1 Oct 2021 21:53:15 +0100 Subject: [PATCH] fix rogue characters on smartfridge menu (#16835) --- code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm index 6d1f482adf9..4c712b9ece6 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm @@ -237,7 +237,7 @@ var/K = item_quants[i] var/count = item_quants[K] if(count > 0) - items.Add(list(list("display_name" = html_encode(capitalize(K)), "vend" = i, "quantity" = count))) + items.Add(list(list("display_name" = capitalize(K), "vend" = i, "quantity" = count))) if(length(items)) data["contents"] = items