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')) ||