mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Main menu: formspec escape world name (#15064)
This commit is contained in:
parent
7f5a19792c
commit
3971b6afcc
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ local function get_formspec(data)
|
||||||
local retval =
|
local retval =
|
||||||
"size[11.5,7.5,true]" ..
|
"size[11.5,7.5,true]" ..
|
||||||
"label[0.5,0;" .. fgettext("World:") .. "]" ..
|
"label[0.5,0;" .. fgettext("World:") .. "]" ..
|
||||||
"label[1.75,0;" .. data.worldspec.name .. "]"
|
"label[1.75,0;" .. core.formspec_escape(data.worldspec.name) .. "]"
|
||||||
|
|
||||||
if mod.is_modpack or mod.type == "game" then
|
if mod.is_modpack or mod.type == "game" then
|
||||||
local info = core.formspec_escape(
|
local info = core.formspec_escape(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue