From 64e51634aacced490d557d27fcdd0e515636bbcd Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 27 Nov 2019 14:06:05 +0700 Subject: [PATCH] fixed text paragraph formats --- src/utils/dom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dom.ts b/src/utils/dom.ts index f1fb64f2..941c18d1 100644 --- a/src/utils/dom.ts +++ b/src/utils/dom.ts @@ -101,7 +101,7 @@ export const formatText = (text: string): string => export const formatTextParagraphs = (text: string): string => (text && - text + formatText(text) .split('\n') .map(str => `

${str}

`) .join('\n')) ||