fix: improve HTML layer detection, various MD fixes (#1241)
Some checks failed
Run Docs CD / build-deploy-docs (push) Failing after 1m31s
Run Docs CI / build-docs (push) Failing after 54s

Markdown fixes:
- properly propagate section header levels
- improve handling of list subroots without text

Signed-off-by: Panos Vagenas <pva@zurich.ibm.com>
This commit is contained in:
Panos Vagenas
2025-03-26 16:07:14 +01:00
committed by GitHub
parent 85c4df887b
commit 9210812bfa
8 changed files with 560 additions and 465 deletions

View File

@@ -146,7 +146,7 @@ def test_e2e_html_conversions():
max_text_len=70, explicit_tables=False
)
assert verify_export(
pred_itxt, str(gt_path) + ".itxt"
pred_itxt, str(gt_path) + ".itxt", generate=GENERATE
), "export to indented-text"
assert verify_document(doc, str(gt_path) + ".json", GENERATE)