Skip to content

Commit 561c777

Browse files
authored
fix: parse heading error (#2526)
1 parent a73e07e commit 561c777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/search/markdown-to-txt.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const markdownToTxtRenderer = {
5959
},
6060

6161
heading({ tokens }) {
62-
return this.parser?.parse(tokens) || '';
62+
return this.parser?.parseInline(tokens) || '';
6363
},
6464

6565
hr() {

0 commit comments

Comments
 (0)