diff --git a/src/resources/filters/quarto-post/typst.lua b/src/resources/filters/quarto-post/typst.lua index 9450717d99d..6380dc8fee7 100644 --- a/src/resources/filters/quarto-post/typst.lua +++ b/src/resources/filters/quarto-post/typst.lua @@ -31,23 +31,6 @@ function render_typst() end }, { - FloatRefTarget = function(float) - if float.content == nil then - return float - end - if float.content.t == "Table" then - -- this needs the fix from https://github.com/jgm/pandoc/pull/9778 - float.content.classes:insert("typst-no-figure") - else - float.content = _quarto.ast.walk(float.content, { - Table = function(tbl) - tbl.classes:insert("typst-no-figure") - return tbl - end - }) - end - return float - end, Div = function(div) if div.classes:includes("block") then div.classes = div.classes:filter(function(c) return c ~= "block" end)