We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82bc0fe commit a828b00Copy full SHA for a828b00
mammoth/docx/numbering_xml.py
@@ -51,7 +51,7 @@ def _read_abstract_num_levels(element):
51
else:
52
levels[level.level_index] = level
53
54
- if "0" not in levels and level_without_index is not None:
+ if level_without_index is not None and level_without_index.level_index not in levels:
55
levels[level_without_index.level_index] = level_without_index
56
57
return levels
0 commit comments