mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 15:32:30 +00:00
Update docling/backend/msword_backend.py
Co-authored-by: Cesar Berrospi Ramis <75900930+ceberam@users.noreply.github.com> Signed-off-by: Maxim Lysak <101627549+maxmnemonic@users.noreply.github.com>
This commit is contained in:
parent
c2f048bd2d
commit
53f6d95877
@ -270,7 +270,7 @@ class MsWordDocumentBackend(DeclarativeDocumentBackend):
|
||||
self.level = self.level_at_new_list - 1
|
||||
self.level_at_new_list = None
|
||||
else:
|
||||
for key, val in self.parents.items():
|
||||
for key in range(len(self.parents)):
|
||||
self.parents[key] = None
|
||||
self.level = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user