This commit is contained in:
Michele Dolfi 2025-07-26 07:54:36 +09:00 committed by GitHub
commit 1042b6ce28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,6 +231,9 @@ class ReadingOrderModel:
tbl.footnotes.append(new_footnote_item.get_ref()) tbl.footnotes.append(new_footnote_item.get_ref())
if tbl.data.num_rows == 0 and tbl.data.num_cols == 0:
self._add_child_elements(element, tbl, out_doc)
# TODO: Consider adding children of Table. # TODO: Consider adding children of Table.
elif isinstance(element, FigureElement): elif isinstance(element, FigureElement):