@bigbinary/neeto-editor 1.47.12 → 1.47.13

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.
@@ -13,7 +13,7 @@ var constants = require('./chunk-C2JDXWdK.cjs.js');
13
13
  var injectCss = require('./chunk-vQvjPR2x.cjs.js');
14
14
  require('@bigbinary/neeto-cist');
15
15
  require('./chunk-D27RxiMX.cjs.js');
16
- var index$1 = require('./chunk-DBc-t5t0.cjs.js');
16
+ var index$1 = require('./chunk-CWE188ZD.cjs.js');
17
17
  var common = require('./chunk-Bi1rI-2R.cjs.js');
18
18
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
19
19
  var Close = require('@bigbinary/neeto-icons/Close');
@@ -12632,7 +12632,7 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
12632
12632
  });
12633
12633
  };
12634
12634
  var convertPlainTextToHtml = function convertPlainTextToHtml(htmlString) {
12635
- if (/^<\/[a-z].*>/i.test(htmlString.trim())) return htmlString;
12635
+ if (/^<[a-z].*>/i.test(htmlString.trim())) return htmlString;
12636
12636
  return htmlString.split("\n").reduce(function (html, str) {
12637
12637
  return "".concat(html, "<p>").concat(str, "</p>");
12638
12638
  }, "");
@@ -12642,4 +12642,4 @@ exports.applyLineHighlighting = applyLineHighlighting;
12642
12642
  exports.applySyntaxHighlightingAndLineNumbers = applySyntaxHighlightingAndLineNumbers;
12643
12643
  exports.convertPlainTextToHtml = convertPlainTextToHtml;
12644
12644
  exports.substituteVariables = substituteVariables;
12645
- //# sourceMappingURL=chunk-DBc-t5t0.cjs.js.map
12645
+ //# sourceMappingURL=chunk-CWE188ZD.cjs.js.map