mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-09 21:28:17 +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:
7
tests/data/groundtruth/docling_v2/table_with_heading.html.md
vendored
Normal file
7
tests/data/groundtruth/docling_v2/table_with_heading.html.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Before tha table
|
||||
|
||||
| A | B |
|
||||
|------|------|
|
||||
| 1... | 2... |
|
||||
|
||||
After the table
|
||||
Reference in New Issue
Block a user