From af022fd8b8dd4eb19bd3a915b0e6047c40efd333 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Tue, 28 Dec 2021 20:15:28 +0100 Subject: [PATCH] fix html blockquote conversion (#8069) --- packages/backend/src/mfm/from-html.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/mfm/from-html.ts b/packages/backend/src/mfm/from-html.ts index 43e16d80c5..fc6d3b3062 100644 --- a/packages/backend/src/mfm/from-html.ts +++ b/packages/backend/src/mfm/from-html.ts @@ -168,7 +168,7 @@ export function fromHtml(html: string, hashtagNames?: string[]): string | null { case 'blockquote': { const t = getText(node); if (t) { - text += '> '; + text += '\n> '; text += t.split('\n').join(`\n> `); } break;