mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-09 13:18:24 +00:00
fix: Proper heading support in rich tables for HTML backend (#2394)
* Fix for the proper headers support in rich tables in HTML Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * cleaning up Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * Compatibility with older Python versions Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * Fixing Furniture before the first heading rule Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * Added minimalistic test case Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> * added html for the test Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> --------- Signed-off-by: Maksym Lysak <mly@zurich.ibm.com> Co-authored-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
4
tests/data/groundtruth/docling_v2/table_with_heading.html.itxt
vendored
Normal file
4
tests/data/groundtruth/docling_v2/table_with_heading.html.itxt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
item-0 at level 0: unspecified: group _root_
|
||||
item-1 at level 1: text: Before tha table
|
||||
item-2 at level 1: table with [2x2]
|
||||
item-3 at level 1: text: After the table
|
||||
Reference in New Issue
Block a user