Skip to content

Commit

Permalink
fix: propagate row_section in tables (#57)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Aug 30, 2024
1 parent a8a60d5 commit de85e46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docling/datamodel/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def _to_ds_document(self) -> DsDocument:
celltype = "col_header"
elif cell.row_header:
celltype = "row_header"
elif cell.row_section:
celltype = "row_section"

def make_spans(cell):
for rspan in range(
Expand Down

0 comments on commit de85e46

Please sign in to comment.