From: Ilya Zhuravlev Date: Thu, 29 Aug 2013 12:12:16 +0000 (+0400) Subject: Add escaping to world list in main menu (fixes #896). X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=82e1ab7b2b7725f57ff7061c77bb689b1c1f636e;p=zefram%2Fminetest%2Fminetest_engine.git Add escaping to world list in main menu (fixes #896). --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 490f9ae4..ab8dbe14 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -169,8 +169,8 @@ function menu.render_world_list() retval = retval .."," end - retval = retval .. v.name .. - " \\[" .. v.gameid .. "\\]" + retval = retval .. engine.formspec_escape(v.name) .. + " \\[" .. engine.formspec_escape(v.gameid) .. "\\]" end return retval