Skip to content

Commit

Permalink
fix: hyperlink within table cell issue
Browse files Browse the repository at this point in the history
  • Loading branch information
privateOmega committed Nov 19, 2020
1 parent 0568930 commit 3a02365
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/helpers/xml-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,11 @@ const buildTableCell = (vNode, attributes, docxDocumentInstance) => {
}
}
} else {
const paragraphFragment = buildParagraph(childVNode, modifiedAttributes);
const paragraphFragment = buildParagraph(
childVNode,
modifiedAttributes,
docxDocumentInstance
);
tableCellFragment.import(paragraphFragment);
}
}
Expand Down

0 comments on commit 3a02365

Please sign in to comment.