mirror of
https://github.com/markedjs/marked.git
synced 2026-11-30 16:48:05 +01:00
fix: add type property on def token (#2001)
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user