@turbodocx/html-to-docx 1.9.3 → 1.9.4
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/example/example-node.js
CHANGED
|
@@ -1614,7 +1614,34 @@ const htmlString = `<!DOCTYPE html>
|
|
|
1614
1614
|
</ul>
|
|
1615
1615
|
</li>
|
|
1616
1616
|
<li style="font-family: arial, helvetica, sans-serif; font-size: 12pt; line-height: 1.15;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Heading 3</span></li>
|
|
1617
|
-
</ul>
|
|
1617
|
+
</ul>
|
|
1618
|
+
<div>
|
|
1619
|
+
<p>One More test case</p>
|
|
1620
|
+
<p style="margin: 0in; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;"><strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif;">PHASE ONE</span></strong><br /><strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif; color: red;">CONFIDENTIAL <br />HOURS: 1 – 2</span></strong></p>
|
|
1621
|
+
<p style="margin: 0in; line-height: normal; font-size: 11pt; font-family: Calibri, sans-serif;"><strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif; color: red;">TIER: 1 </span></strong></p>
|
|
1622
|
+
<p style="line-height: normal; margin: 0in 0in 10pt; font-size: 11pt; font-family: Calibri, sans-serif;"><strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif;">Scheduled Work</span></strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif;">: Business Hours </span><br /><strong><span style="font-size: 10.0pt; font-family: Arial, sans-serif;">Location:</span></strong>
|
|
1623
|
+
<span style="font-size: 10.0pt; font-family: Arial, sans-serif;"> Remote</span>
|
|
1624
|
+
</p>
|
|
1625
|
+
<ul style="margin-bottom: 0in; margin-top: 0px;">
|
|
1626
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Item 1k</span>
|
|
1627
|
+
<ul style="list-style-type: circle; margin-bottom: 0in; margin-top: 0px;">
|
|
1628
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 1</span></li>
|
|
1629
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 2</span></li>
|
|
1630
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 3</span></li>
|
|
1631
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 4</span></li>
|
|
1632
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 5</span></li>
|
|
1633
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 6</span></li>
|
|
1634
|
+
</ul>
|
|
1635
|
+
</li>
|
|
1636
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Item 2</span>
|
|
1637
|
+
<ul style="list-style-type: circle; margin-bottom: 0in; margin-top: 0px;">
|
|
1638
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 1</span></li>
|
|
1639
|
+
<li style="line-height: normal; margin: 0in 0in 0in 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 2</span></li>
|
|
1640
|
+
<li style="line-height: normal; margin: 0in 0in 10pt 0px; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9.0pt; font-family: Arial, sans-serif;">Sub item 1</span></li>
|
|
1641
|
+
</ul>
|
|
1642
|
+
</li>
|
|
1643
|
+
</ul>
|
|
1644
|
+
</div>
|
|
1618
1645
|
</body>
|
|
1619
1646
|
</html>`;
|
|
1620
1647
|
|
|
@@ -1632,5 +1659,4 @@ const htmlString = `<!DOCTYPE html>
|
|
|
1632
1659
|
}
|
|
1633
1660
|
console.log('Docx file created successfully');
|
|
1634
1661
|
});
|
|
1635
|
-
})();
|
|
1636
|
-
|
|
1662
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbodocx/html-to-docx",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "HTML to DOCX converter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"html",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"zedtux <zedtux@zedroot.org>",
|
|
42
42
|
"hlerebours",
|
|
43
43
|
"hakjeri",
|
|
44
|
-
"tasola"
|
|
44
|
+
"tasola",
|
|
45
|
+
"AmitSharma512"
|
|
45
46
|
],
|
|
46
47
|
"license": "MIT",
|
|
47
48
|
"bugs": {
|