diff options
author | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2013-08-29 16:12:16 +0400 |
---|---|---|
committer | Ilya Zhuravlev <zhuravlevilya@ya.ru> | 2013-08-29 16:12:16 +0400 |
commit | 82e1ab7b2b7725f57ff7061c77bb689b1c1f636e (patch) | |
tree | ec2bee37f0decadbf4742fd0825990386578ce13 | |
parent | d470842e8e223626147b14fa0373a1736c9a9df6 (diff) | |
download | minetest-82e1ab7b2b7725f57ff7061c77bb689b1c1f636e.tar.gz minetest-82e1ab7b2b7725f57ff7061c77bb689b1c1f636e.tar.bz2 minetest-82e1ab7b2b7725f57ff7061c77bb689b1c1f636e.zip |
Add escaping to world list in main menu (fixes #896).
-rw-r--r-- | builtin/mainmenu.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index 490f9ae4e..ab8dbe144 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 |