sample.lua - fix error message.

image_format not img_format.

Closes #6135.
This commit is contained in:
John MacFarlane 2020-02-12 20:34:20 -08:00
parent 3a79f37d88
commit e9cb08e74c

View file

@ -33,7 +33,7 @@ local image_mime_type = ({
png = "image/png",
svg = "image/svg+xml",
})[image_format]
or error("unsupported image format `" .. img_format .. "`")
or error("unsupported image format `" .. image_format .. "`")
-- Character escaping
local function escape(s, in_attribute)