@office-open/docx 0.6.0 → 0.6.1

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/dist/index.mjs CHANGED
@@ -6517,7 +6517,7 @@ var init_paragraph$1 = __esmMin((() => {
6517
6517
  else if ("columnBreak" in rawChild) child = new ColumnBreak();
6518
6518
  else if ("commentRangeStart" in rawChild) child = new CommentRangeStart(rawChild.commentRangeStart);
6519
6519
  else if ("commentRangeEnd" in rawChild) child = new CommentRangeEnd(rawChild.commentRangeEnd);
6520
- else if ("commentReference" in rawChild) child = new CommentReference(rawChild.commentReference);
6520
+ else if ("commentReference" in rawChild) child = new TextRun({ children: [new CommentReference(rawChild.commentReference)] });
6521
6521
  else if ("insertion" in rawChild) child = new InsertedTextRun(rawChild.insertion);
6522
6522
  else if ("deletion" in rawChild) child = new DeletedTextRun(rawChild.deletion);
6523
6523
  else child = new TextRun(rawChild);