Skip to content

Commit

Permalink
Fix more caption types
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb committed Nov 22, 2024
1 parent 307aff4 commit 4fb1c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/filters/quarto-pre/parsefiguredivs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function parse_floatreftargets()
end

-- we've parsed the caption, so we can remove it from the table
el.caption.long = pandoc.List({})
el.caption.long = pandoc.Blocks({})

if label == "" then
return nil
Expand Down

0 comments on commit 4fb1c0a

Please sign in to comment.