fix: propagate row_section in tables

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-08-30 10:19:17 +02:00
parent a8a60d52b1
commit 525a46fadd

View File

@ -222,6 +222,8 @@ class ConvertedDocument(BaseModel):
celltype = "col_header" celltype = "col_header"
elif cell.row_header: elif cell.row_header:
celltype = "row_header" celltype = "row_header"
elif cell.row_section:
celltype = "row_section"
def make_spans(cell): def make_spans(cell):
for rspan in range( for rspan in range(