@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.
@@ -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 == "nil") {
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");