aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--builtin/mainmenu.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 7fa5ff6cf..5a5fe3b7f 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -210,12 +210,12 @@ end
function menu.render_texture_pack_list(list)
local retval = ""
- for i,v in ipairs(list) do
+ for i, v in ipairs(list) do
if retval ~= "" then
retval = retval ..","
end
- retval = retval .. v
+ retval = retval .. engine.formspec_escape(v)
end
return retval