diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-02-12 20:34:20 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-02-12 20:34:20 -0800 |
commit | e9cb08e74cc234b743dfb720d1e25b6777a8724d (patch) | |
tree | 423f0a4b8ef1eb91b666d13a98700a6676eb071e /data/sample.lua | |
parent | 3a79f37d8814d3870f7243a23b54f899a1e67065 (diff) | |
download | pandoc-e9cb08e74cc234b743dfb720d1e25b6777a8724d.tar.gz |
sample.lua - fix error message.
image_format not img_format.
Closes #6135.
Diffstat (limited to 'data/sample.lua')
-rw-r--r-- | data/sample.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sample.lua b/data/sample.lua index c33be7e92..5752d2684 100644 --- a/data/sample.lua +++ b/data/sample.lua @@ -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) |