git.iko.soy/typeable/pandoc
on master help sign in
sample.lua - fix error message.

image_format not img_format. Closes #6135.

commite9cb08e74cc234b743dfb720d1e25b6777a8724d authorJohn MacFarlane <jgm@berkeley.edu> dateWed 12 Feb 2020, 20:34 (7 years ago) parent3a79f37
1 file changed+1−1
data/sample.lua+1−1
data/sample.lua+1−1
@@ -33,7 +33,7 @@ local image_mime_type = ({
3333 png = "image/png",
3434 svg = "image/svg+xml",
3535 })[image_format]
36− or error("unsupported image format `" .. img_format .. "`")
36+ or error("unsupported image format `" .. image_format .. "`")
3737
3838-- Character escaping
3939local function escape(s, in_attribute)