mirror of
https://github.com/AFCMS/mesecons_onlinedetector.git
synced 2024-11-21 22:53:53 +01:00
formspec-escape user input
This commit is contained in:
parent
3912928a1a
commit
c86162085c
4
init.lua
4
init.lua
@ -11,8 +11,8 @@ local function get_detector_form(default)
|
||||
return table.concat({
|
||||
"formspec_version[4]",
|
||||
"size[8,3]",
|
||||
"field[0.25,0.75;7.5,0.75;name;"..F(S("Online Detector"))..";"..default.."]",
|
||||
"label[0.25,2.25;"..F(S("Detecting:")).." "..default.."]"
|
||||
"field[0.25,0.75;7.5,0.75;name;"..F(S("Online Detector"))..";"..F(default).."]",
|
||||
"label[0.25,2.25;"..F(S("Detecting:")).." "..F(default).."]"
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user