Skip to content

Commit 5834805

Browse files
authored
Merge pull request #12283 from quarto-dev/refactor
Testing isTableDiv is not useful when isFigureDiv is tested first
2 parents 7071969 + a27cbb4 commit 5834805

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)