aboutsummaryrefslogtreecommitdiff
path: root/data/sample.lua
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-02-12 20:34:20 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-02-12 20:34:20 -0800
commite9cb08e74cc234b743dfb720d1e25b6777a8724d (patch)
tree423f0a4b8ef1eb91b666d13a98700a6676eb071e /data/sample.lua
parent3a79f37d8814d3870f7243a23b54f899a1e67065 (diff)
downloadpandoc-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.lua2
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)