@zphhhhh/docx-preview 0.4.20 → 0.4.21
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/docx-preview.esm.js +2 -2
- package/dist/docx-preview.esm.js.map +1 -1
- package/dist/docx-preview.esm.min.js +1 -1
- package/dist/docx-preview.esm.min.js.map +1 -1
- package/dist/docx-preview.js +2 -2
- package/dist/docx-preview.js.map +1 -1
- package/dist/docx-preview.min.js +1 -1
- package/dist/docx-preview.min.js.map +1 -1
- package/package.json +1 -1
package/dist/docx-preview.js
CHANGED
|
@@ -3810,8 +3810,8 @@
|
|
|
3810
3810
|
return globalXmlParser.lengthAttr(c, "w");
|
|
3811
3811
|
}
|
|
3812
3812
|
static valueOfBorder(c) {
|
|
3813
|
-
let type = globalXmlParser.attr(c, "val");
|
|
3814
|
-
if (type == "
|
|
3813
|
+
let type = values.parseBorderType(globalXmlParser.attr(c, "val"));
|
|
3814
|
+
if (type == "none") {
|
|
3815
3815
|
return "none";
|
|
3816
3816
|
}
|
|
3817
3817
|
let color = xmlUtil.colorAttr(c, "color");
|