From c62a3fd49ba3b2ddb60c8bbf8f8a46f09274d4f4 Mon Sep 17 00:00:00 2001 From: Luffy <52o@qq52o.cn> Date: Mon, 6 Jan 2025 12:18:26 +0800 Subject: [PATCH] fix: parse heading error --- src/plugins/search/markdown-to-txt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/search/markdown-to-txt.js b/src/plugins/search/markdown-to-txt.js index 90e042be6..c98459f2f 100644 --- a/src/plugins/search/markdown-to-txt.js +++ b/src/plugins/search/markdown-to-txt.js @@ -59,7 +59,7 @@ const markdownToTxtRenderer = { }, heading({ tokens }) { - return this.parser?.parse(tokens) || ''; + return this.parser?.parseInline(tokens) || ''; }, hr() {