From 4fb1c0a3488f61669055f6377b7b87413c9d64ed Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Fri, 22 Nov 2024 14:47:44 +0100 Subject: [PATCH] Fix more caption types --- src/resources/filters/quarto-pre/parsefiguredivs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/filters/quarto-pre/parsefiguredivs.lua b/src/resources/filters/quarto-pre/parsefiguredivs.lua index d2e211033e..95a6e583e6 100644 --- a/src/resources/filters/quarto-pre/parsefiguredivs.lua +++ b/src/resources/filters/quarto-pre/parsefiguredivs.lua @@ -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