Skip to content

Commit 51aa0d9

Browse files
committed
diagram-generator: fix regression in image creation
Fixes: #164
1 parent c6379bd commit 51aa0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diagram-generator/diagram-generator.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ function CodeBlock(block)
355355
--
356356
-- to be referenced as @fig:example outside of the figure when used
357357
-- with `pandoc-crossref`.
358-
local img_attr = pandoc.Attr {
358+
local img_attr = {
359359
id = block.identifier,
360360
name = block.attributes.name
361361
}

0 commit comments

Comments
 (0)