@harbour-enterprises/superdoc 0.6.19 → 0.6.20

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.
@@ -53405,6 +53405,9 @@ const createNodeListHandler = (nodeHandlers) => {
53405
53405
  converter?.docHiglightColors.add(hasHighlightMark.attrs.color.toUpperCase());
53406
53406
  }
53407
53407
  }
53408
+ if (consumed > 0) {
53409
+ index += consumed - 1;
53410
+ }
53408
53411
  if (nodes) {
53409
53412
  nodes.forEach((node2) => {
53410
53413
  if (node2?.type && !["runProperties"].includes(node2.type)) {
@@ -53624,7 +53627,7 @@ const _SuperConverter = class _SuperConverter {
53624
53627
  return;
53625
53628
  }
53626
53629
  }
53627
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.19") {
53630
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.6.20") {
53628
53631
  const customLocation = "docProps/custom.xml";
53629
53632
  if (!docx[customLocation]) {
53630
53633
  docx[customLocation] = generateCustomXml();
@@ -53872,7 +53875,7 @@ function storeSuperdocVersion(docx) {
53872
53875
  function generateCustomXml() {
53873
53876
  return DEFAULT_CUSTOM_XML;
53874
53877
  }
53875
- function generateSuperdocVersion(version2 = "0.6.19") {
53878
+ function generateSuperdocVersion(version2 = "0.6.20") {
53876
53879
  return {
53877
53880
  type: "element",
53878
53881
  name: "property",
@@ -53944,4 +53947,4 @@ export {
53944
53947
  twipsToLines as y,
53945
53948
  pixelsToTwips as z
53946
53949
  };
53947
- //# sourceMappingURL=converter-C4bhF1cw.js.map
53950
+ //# sourceMappingURL=converter-Cc7B6Z3A.js.map