mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
fix(docx): Missing list items after numbered header (#2665)
* fix #2250. list items after numbered headers Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * add test for new case Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * chore(docx): remove unnecessary check Remove 'current_parent is None' check in '_add_list_item' function since it will always be None. Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com> Co-authored-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
This commit is contained in:
BIN
tests/data/docx/list_after_num_headers.docx
vendored
Normal file
BIN
tests/data/docx/list_after_num_headers.docx
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user