Skip to content

Commit

Permalink
🗜️ build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
CI Build committed Nov 9, 2024
1 parent 915fba6 commit e055d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function gfmHeadingId({ prefix = '', globalSlugs = false } = {}) {
renderer: {
heading({ tokens, depth }) {
const text = this.parser.parseInline(tokens);
const raw = unescape(this.parser.parseInline(tokens, this.parser.textRenderer))
const raw = unescape(text)
.trim()
.replace(/<[!\/a-z].*?>/gi, '');
const level = depth;
Expand Down
2 changes: 1 addition & 1 deletion lib/index.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
renderer: {
heading({ tokens, depth }) {
const text = this.parser.parseInline(tokens);
const raw = unescape(this.parser.parseInline(tokens, this.parser.textRenderer))
const raw = unescape(text)
.trim()
.replace(/<[!\/a-z].*?>/gi, '');
const level = depth;
Expand Down

0 comments on commit e055d40

Please sign in to comment.