From acecc9c68d00e1d5fe4fd5f9d3fce28da17cc859 Mon Sep 17 00:00:00 2001 From: Yuri Karamian Date: Tue, 30 Jun 2026 14:09:25 +0200 Subject: [PATCH] Fix callout body paragraphs merging on reload (#192) --- src/lib/editor/callouts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/editor/callouts.ts b/src/lib/editor/callouts.ts index 29f7398..f1dd080 100644 --- a/src/lib/editor/callouts.ts +++ b/src/lib/editor/callouts.ts @@ -163,7 +163,7 @@ export function serializeCallout(node: any, serializeChild: (child: any) => stri while (parts.length && parts[parts.length - 1] === '') parts.pop(); const out = [`> ${header}`]; - const inner = parts.join('\n'); + const inner = parts.join('\n\n'); if (inner.length) { for (const line of inner.split('\n')) out.push(line.length ? `> ${line}` : '>'); }