@bigbinary/neeto-editor 1.47.1 → 1.47.3

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.
@@ -12630,8 +12630,13 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
12630
12630
  return variable !== null && variable !== void 0 && variable.value ? variable.value : matchedSpan;
12631
12631
  });
12632
12632
  };
12633
+ var replaceHTMLEntities = function replaceHTMLEntities(text) {
12634
+ var doc = new DOMParser().parseFromString(text, "text/html");
12635
+ return doc.documentElement.textContent;
12636
+ };
12633
12637
 
12634
12638
  exports.applyLineHighlighting = applyLineHighlighting;
12635
12639
  exports.applySyntaxHighlightingAndLineNumbers = applySyntaxHighlightingAndLineNumbers;
12640
+ exports.replaceHTMLEntities = replaceHTMLEntities;
12636
12641
  exports.substituteVariables = substituteVariables;
12637
- //# sourceMappingURL=chunk-W-ChuMj0.cjs.js.map
12642
+ //# sourceMappingURL=chunk-Dlwo4bBb.cjs.js.map