From 1528a9c827a8095554561e106054c11994833b16 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 43e16d80c..fc6d3b306 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;