mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-01-09 17:40:32 +01:00
Escape schematic name in formspec
This commit is contained in:
parent
0993c6e7c6
commit
e7b5ecbae5
2
init.lua
2
init.lua
@ -223,7 +223,7 @@ advschem.add_form("main", {
|
||||
label[0.5,-0.1;Position: ]]..strpos..[[]
|
||||
label[3,-0.1;Owner: ]]..name..[[]
|
||||
|
||||
field[0.8,1;5,1;name;Schematic name:;]]..(meta.schem_name or "")..[[]
|
||||
field[0.8,1;5,1;name;Schematic name:;]]..minetest.formspec_escape(meta.schem_name or "")..[[]
|
||||
button[5.3,0.69;1.2,1;save_name;Save]
|
||||
tooltip[save_name;Save schematic name]
|
||||
field_close_on_enter[name;false]
|
||||
|
Loading…
Reference in New Issue
Block a user