projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d470842
)
Add escaping to world list in main menu (fixes #896).
author
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Thu, 29 Aug 2013 12:12:16 +0000
(16:12 +0400)
committer
Ilya Zhuravlev
<zhuravlevilya@ya.ru>
Thu, 29 Aug 2013 12:12:16 +0000
(16:12 +0400)
builtin/mainmenu.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu.lua
b/builtin/mainmenu.lua
index 490f9ae4e1af968fcaff58f071cf192ce1511f76..ab8dbe144a39ed4a5dbf1c26487b586d2b64a63b 100644
(file)
--- 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