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() {