Skip to content

Commit

Permalink
fix: parse heading error (#2526)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Jan 8, 2025
1 parent a73e07e commit 561c777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/search/markdown-to-txt.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const markdownToTxtRenderer = {
},

heading({ tokens }) {
return this.parser?.parse(tokens) || '';
return this.parser?.parseInline(tokens) || '';
},

hr() {
Expand Down

0 comments on commit 561c777

Please sign in to comment.