From 09529f22e9568bf213c76f8a31172f33e5542fbd Mon Sep 17 00:00:00 2001 From: Kushal Kumar <59891164+K-Kumar-01@users.noreply.github.com> Date: Fri, 18 Jun 2021 01:07:38 +0530 Subject: [PATCH] refactor(markdown-docx): remove argument ooxml in toOOXML func - #397 (#412) Signed-off-by: k-kumar-01 --- packages/markdown-docx/src/CiceroMarkToOOXML/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/markdown-docx/src/CiceroMarkToOOXML/index.js b/packages/markdown-docx/src/CiceroMarkToOOXML/index.js index 51f80380..1a51d5e5 100644 --- a/packages/markdown-docx/src/CiceroMarkToOOXML/index.js +++ b/packages/markdown-docx/src/CiceroMarkToOOXML/index.js @@ -137,11 +137,9 @@ class CiceroMarkToOOXMLTransfomer { * Transforms the given CiceroMark JSON to OOXML * * @param {Object} ciceromark CiceroMark JSON to be converted - * @param {string} ooxml Initial OOXML string * @returns {string} Converted OOXML string i.e. CicecoMark->OOXML */ - toOOXML(ciceromark, ooxml = '') { - this.globalOOXML = ooxml; + toOOXML(ciceromark) { ciceromark.nodes.forEach(node => { this.getNodes(node); });