mirror of
https://github.com/AFCMS/mesecons_onlinedetector.git
synced 2024-11-22 07:03:43 +01:00
Merge pull request #2 from fluxionary/patch-1
formspec-escape user input
This commit is contained in:
commit
ed565e7150
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