fix: use first table row as col headers (#1156)

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
This commit is contained in:
Panos Vagenas
2025-03-13 15:34:18 +01:00
committed by GitHub
parent 6eb718f849
commit 0945973b79
33 changed files with 286 additions and 310 deletions

View File

@@ -90,4 +90,8 @@ def test_e2e_docx_conversions():
if docx_path.name == "word_tables.docx":
pred_html: str = doc.export_to_html()
assert verify_export(pred_html, str(gt_path) + ".html"), "export to html"
assert verify_export(
pred_text=pred_html,
gtfile=str(gt_path) + ".html",
generate=GENERATE,
), "export to html"