fix: add type property on def token (#2001)

This commit is contained in:
sapristi
2021-04-10 15:22:12 -05:00
committed by GitHub
parent d0f9ffdb24
commit 009427f65d
+1
View File
@@ -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],