Skip to content

Commit f3c30e9

Browse files
committed
lua,tables - don't process if content is empty
1 parent b34b24d commit f3c30e9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/resources/filters/quarto-pre/table-classes.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ function table_classes()
6262
if kind ~= "tbl" then
6363
return nil
6464
end
65+
if float.content == nil then
66+
return nil
67+
end
6568

6669
if (float.caption_long == nil or
6770
float.caption_long.content == nil or

0 commit comments

Comments
 (0)