docxmlater 10.3.4 → 10.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -47,6 +47,7 @@ A comprehensive, production-ready TypeScript/JavaScript framework for creating,
47
47
  - Headers & footers (different first page, odd/even pages)
48
48
  - Hyperlinks (external URLs, internal bookmarks)
49
49
  - Hyperlink defragmentation utility (fixes fragmented links from Google Docs)
50
+ - Hyperlink URL sanitization (strips browser extension prefixes from corrupted URLs)
50
51
  - Bookmarks and cross-references
51
52
  - Body-level bookmark support (bookmarks between block elements)
52
53
  - Shapes and text boxes
@@ -1891,7 +1891,7 @@ class DocumentParser {
1891
1891
  const tabs = Array.isArray(tabArray) ? tabArray : [tabArray];
1892
1892
  previousProperties.tabs = tabs.map((tab) => ({
1893
1893
  val: tab['@_w:val'],
1894
- pos: tab['@_w:pos'] !== undefined ? parseInt(tab['@_w:pos'], 10) : undefined,
1894
+ position: tab['@_w:pos'] !== undefined ? parseInt(tab['@_w:pos'], 10) : undefined,
1895
1895
  leader: tab['@_w:leader'],
1896
1896
  }));
1897
1897
  }