opentiny 6.9.5 → 6.9.6

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.
package/tinymce.js CHANGED
@@ -25915,12 +25915,9 @@
25915
25915
  return tag + '>';
25916
25916
  };
25917
25917
  const toBlockElements = (text, rootTag, rootAttrs) => {
25918
- const blocks = text.split(/\n\n/);
25918
+ const paragraphs = text.split(/\n/);
25919
25919
  const tagOpen = openContainer(rootTag, rootAttrs);
25920
25920
  const tagClose = '</' + rootTag + '>';
25921
- const paragraphs = map$3(blocks, p => {
25922
- return p.split(/\n/).join('<br />');
25923
- });
25924
25921
  const stitch = p => {
25925
25922
  return tagOpen + p + tagClose;
25926
25923
  };