forked from Mirrorlandia_minetest/minetest
Add escaping to world list in main menu (fixes #896).
This commit is contained in:
parent
d470842e8e
commit
82e1ab7b2b
@ -169,8 +169,8 @@ function menu.render_world_list()
|
|||||||
retval = retval ..","
|
retval = retval ..","
|
||||||
end
|
end
|
||||||
|
|
||||||
retval = retval .. v.name ..
|
retval = retval .. engine.formspec_escape(v.name) ..
|
||||||
" \\[" .. v.gameid .. "\\]"
|
" \\[" .. engine.formspec_escape(v.gameid) .. "\\]"
|
||||||
end
|
end
|
||||||
|
|
||||||
return retval
|
return retval
|
||||||
|
Loading…
Reference in New Issue
Block a user