@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.
@@ -11,7 +11,7 @@ import { a as EDITOR_SIZES } from './chunk-CJu3yusL.js';
11
11
  import { n } from './chunk-DmrvuTKK.js';
12
12
  import '@bigbinary/neeto-cist';
13
13
  import './chunk-BegQDClu.js';
14
- import { c as convertPlainTextToHtml, s as substituteVariables, a as applySyntaxHighlightingAndLineNumbers, b as applyLineHighlighting } from './chunk-Db3trsz6.js';
14
+ import { c as convertPlainTextToHtml, s as substituteVariables, a as applySyntaxHighlightingAndLineNumbers, b as applyLineHighlighting } from './chunk-CBY2h1zh.js';
15
15
  import { r as removeEmptyTags, E as EDITOR_CONTENT_CLASS_NAME, S as SANITIZE_OPTIONS, b as EDITOR_CONTENT_DEFAULT_CONFIGURATION } from './chunk-BCoBS5ED.js';
16
16
  import { useOnClickOutside } from '@bigbinary/neeto-commons-frontend/react-utils';
17
17
  import Close from '@bigbinary/neeto-icons/Close';
@@ -12630,11 +12630,11 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
12630
12630
  });
12631
12631
  };
12632
12632
  var convertPlainTextToHtml = function convertPlainTextToHtml(htmlString) {
12633
- if (/^<\/[a-z].*>/i.test(htmlString.trim())) return htmlString;
12633
+ if (/^<[a-z].*>/i.test(htmlString.trim())) return htmlString;
12634
12634
  return htmlString.split("\n").reduce(function (html, str) {
12635
12635
  return "".concat(html, "<p>").concat(str, "</p>");
12636
12636
  }, "");
12637
12637
  };
12638
12638
 
12639
12639
  export { applySyntaxHighlightingAndLineNumbers as a, applyLineHighlighting as b, convertPlainTextToHtml as c, substituteVariables as s };
12640
- //# sourceMappingURL=chunk-Db3trsz6.js.map
12640
+ //# sourceMappingURL=chunk-CBY2h1zh.js.map