@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.esm.js
CHANGED
|
@@ -3789,8 +3789,8 @@ class values {
|
|
|
3789
3789
|
return globalXmlParser.lengthAttr(c, "w");
|
|
3790
3790
|
}
|
|
3791
3791
|
static valueOfBorder(c) {
|
|
3792
|
-
let type = globalXmlParser.attr(c, "val");
|
|
3793
|
-
if (type == "
|
|
3792
|
+
let type = values.parseBorderType(globalXmlParser.attr(c, "val"));
|
|
3793
|
+
if (type == "none") {
|
|
3794
3794
|
return "none";
|
|
3795
3795
|
}
|
|
3796
3796
|
let color = xmlUtil.colorAttr(c, "color");
|