Skip to content

Commit

Permalink
fix: add type property on def token (#2001)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapristi committed Apr 10, 2021
1 parent d0f9ffd commit 009427f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/marked.js
Expand Up @@ -751,6 +751,7 @@
if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
var tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
return {
type: 'def',
tag: tag,
raw: cap[0],
href: cap[2],
Expand Down

1 comment on commit 009427f

@vercel
Copy link

@vercel vercel bot commented on 009427f Apr 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.