forked from VoxeLibre/VoxeLibre
Escape creative search field
This commit is contained in:
parent
53802c3da2
commit
bc9bbdd399
|
@ -289,7 +289,7 @@ crafting.set_creative_formspec = function(player, start_i, pagenum, show, page,
|
||||||
if filter == nil then
|
if filter == nil then
|
||||||
filter = ""
|
filter = ""
|
||||||
end
|
end
|
||||||
formspec = formspec .. "field[5.3,1.3;4,0.75;suche;;"..filter.."]"
|
formspec = formspec .. "field[5.3,1.3;4,0.75;suche;;"..minetest.formspec_escape(filter).."]"
|
||||||
formspec = formspec .. "field_close_on_enter[suche;false]"
|
formspec = formspec .. "field_close_on_enter[suche;false]"
|
||||||
end
|
end
|
||||||
if pagenum ~= nil then formspec = formspec .. "p"..tostring(pagenum) end
|
if pagenum ~= nil then formspec = formspec .. "p"..tostring(pagenum) end
|
||||||
|
|
Loading…
Reference in New Issue