@harbour-enterprises/superdoc 0.7.11 → 0.7.12

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.
@@ -18165,7 +18165,7 @@ function translateMark(mark) {
18165
18165
  markElement.attributes["w:line"] = linesToTwips(attrs.lineHeight);
18166
18166
  break;
18167
18167
  case "highlight":
18168
- markElement.attributes["w:fill"] = attrs.color.substring(1);
18168
+ markElement.attributes["w:fill"] = attrs.color?.substring(1);
18169
18169
  markElement.attributes["w:color"] = "auto";
18170
18170
  markElement.attributes["w:val"] = "clear";
18171
18171
  markElement.name = "w:shd";
@@ -20681,7 +20681,7 @@ const _SuperConverter = class _SuperConverter {
20681
20681
  return;
20682
20682
  }
20683
20683
  }
20684
- static updateDocumentVersion(docx = this.convertedXml, version = "0.7.11") {
20684
+ static updateDocumentVersion(docx = this.convertedXml, version = "0.7.12") {
20685
20685
  const customLocation = "docProps/custom.xml";
20686
20686
  if (!docx[customLocation]) {
20687
20687
  docx[customLocation] = generateCustomXml();
@@ -20957,7 +20957,7 @@ function storeSuperdocVersion(docx) {
20957
20957
  function generateCustomXml() {
20958
20958
  return DEFAULT_CUSTOM_XML;
20959
20959
  }
20960
- function generateSuperdocVersion(pid = 2, version = "0.7.11") {
20960
+ function generateSuperdocVersion(pid = 2, version = "0.7.12") {
20961
20961
  return {
20962
20962
  type: "element",
20963
20963
  name: "property",
@@ -21029,4 +21029,4 @@ export {
21029
21029
  RemoveMarkStep as y,
21030
21030
  twipsToLines as z
21031
21031
  };
21032
- //# sourceMappingURL=converter-DevFloKQ.js.map
21032
+ //# sourceMappingURL=converter-DXHxlWfC.js.map