Skip to content

Commit 307aff4

Browse files
committed
Fix type in Caption
1 parent 0ef5b59 commit 307aff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/filters/quarto-pre/table-captions.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function applyTableCaptions(el, tblCaptions, tblLabels)
140140
cap:insert(pandoc.Str("{#" .. tblLabels[idx] .. "}"))
141141
end
142142
idx = idx + 1
143-
el.caption.long = pandoc.Plain(cap)
143+
el.caption.long = pandoc.Blocks{pandoc.Plain(cap)}
144144
return el
145145
end
146146
end,

0 commit comments

Comments
 (0)