Skip to content

Commit 009427f

Browse files
author
sapristi
authored
fix: add type property on def token (#2001)
1 parent d0f9ffd commit 009427f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/marked.js

+1
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@
751751
if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
752752
var tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
753753
return {
754+
type: 'def',
754755
tag: tag,
755756
raw: cap[0],
756757
href: cap[2],

0 commit comments

Comments
 (0)