Add escaping to world list in main menu (fixes #896).

master
Ilya Zhuravlev 2013-08-29 16:12:16 +04:00
parent d470842e8e
commit 82e1ab7b2b
1 changed files with 2 additions and 2 deletions

View File

@ -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