aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-08-05 15:37:53 -0400
committerShadowNinja <shadowninja@minetest.net>2014-08-05 15:37:53 -0400
commit15f3713e2f2f272c8f6b8d59e507c9af8417f26e (patch)
tree7edc4a76a61bec5a6cf0403f6ddae7d08e8dc2eb /builtin
parentd7bcde6db44e9b835be20e0c986e60a2e2e20a81 (diff)
downloadminetest-15f3713e2f2f272c8f6b8d59e507c9af8417f26e.tar.gz
minetest-15f3713e2f2f272c8f6b8d59e507c9af8417f26e.tar.bz2
minetest-15f3713e2f2f272c8f6b8d59e507c9af8417f26e.zip
Formspec escape fixed seen in world creation menu
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu/dlg_create_world.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua
index ae818d04b..5771d8b27 100644
--- a/builtin/mainmenu/dlg_create_world.lua
+++ b/builtin/mainmenu/dlg_create_world.lua
@@ -44,6 +44,7 @@ local function create_world_formspec(dialogdata)
end
end
+ current_seed = core.formspec_escape(current_seed)
local retval =
"size[12,6,true]" ..
"label[2,0;" .. fgettext("World name") .. "]"..