sample.lua - fix error message.
image_format not img_format. Closes #6135.
This commit is contained in:
parent
3a79f37d88
commit
e9cb08e74c
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ local image_mime_type = ({
|
||||||
png = "image/png",
|
png = "image/png",
|
||||||
svg = "image/svg+xml",
|
svg = "image/svg+xml",
|
||||||
})[image_format]
|
})[image_format]
|
||||||
or error("unsupported image format `" .. img_format .. "`")
|
or error("unsupported image format `" .. image_format .. "`")
|
||||||
|
|
||||||
-- Character escaping
|
-- Character escaping
|
||||||
local function escape(s, in_attribute)
|
local function escape(s, in_attribute)
|
||||||
|
|
Loading…
Add table
Reference in a new issue