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 cee62ee commit c6f5169Copy full SHA for c6f5169
lib/docx/numbering-xml.js
@@ -91,8 +91,8 @@ function readAbstractNum(element) {
91
}
92
});
93
94
- if (levels["0"] === undefined && levelWithoutIndex !== null) {
95
- levels["0"] = levelWithoutIndex;
+ if (levelWithoutIndex !== null && levels[levelWithoutIndex.level] === undefined) {
+ levels[levelWithoutIndex.level] = levelWithoutIndex;
96
97
98
var numStyleLink = element.firstOrEmpty("w:numStyleLink").attributes["w:val"];
0 commit comments