From 02bd5b87487d4b92edc2f511490d852baeb7d465 Mon Sep 17 00:00:00 2001 From: Rose Date: Thu, 23 Apr 2026 23:36:27 +0200 Subject: [PATCH] Fix text return in toPlainText function --- src/app/components/editor/output.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/editor/output.ts b/src/app/components/editor/output.ts index 3feca8010..4b6cab231 100644 --- a/src/app/components/editor/output.ts +++ b/src/app/components/editor/output.ts @@ -228,7 +228,7 @@ export const toPlainText = ( } return isMarkdown ? unescapeMarkdownBlockSequences(text, unescapeMarkdownInlineSequences) - : node.text; + : text; } const children = node.children.map((n) => toPlainText(n, isMarkdown)).join('');