Skip to content

Commit a27cbb4

Browse files
committed
isFigureDiv will already be true when isTableDiv is, so remove the else part
1 parent 7071969 commit a27cbb4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/resources/filters/quarto-pre/parsefiguredivs.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -548,10 +548,6 @@ function parse_floatreftargets()
548548
end
549549
})
550550
return parse_float_div(div)
551-
elseif isTableDiv(div) then
552-
-- FIXUP: We don't go here for a `#tbl-` id as it is matched as a FigureDiv above
553-
-- TO REMOVE ?
554-
return parse_float_div(div)
555551
end
556552

557553
if div.classes:includes("cell") then

0 commit comments

Comments
 (0)