Formspec escape fixed seen in world creation menu
authorShadowNinja <shadowninja@minetest.net>
Tue, 5 Aug 2014 19:37:53 +0000 (15:37 -0400)
committerShadowNinja <shadowninja@minetest.net>
Tue, 5 Aug 2014 19:37:53 +0000 (15:37 -0400)
builtin/mainmenu/dlg_create_world.lua

index ae818d04b3054121bbc62e5ba9d21114cee6113c..5771d8b27d30b5bcc41cdbe4659ab76c60b9cb43 100644 (file)
@@ -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") .. "]"..