From 525a46faddebaaef86ef74483c58f49ec322e915 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Fri, 30 Aug 2024 10:19:17 +0200 Subject: [PATCH] fix: propagate row_section in tables Signed-off-by: Michele Dolfi --- docling/datamodel/document.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docling/datamodel/document.py b/docling/datamodel/document.py index bf3d7b2e..aa841b77 100644 --- a/docling/datamodel/document.py +++ b/docling/datamodel/document.py @@ -222,6 +222,8 @@ class ConvertedDocument(BaseModel): 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(