diff --git a/lib/marked.js b/lib/marked.js index 09e81e22..1a472cf6 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -95,7 +95,7 @@ block.lexer = function(str) { function(_, id, href, title) { links[id] = { href: href, - title: title + title: unquote(title) }; return ''; } @@ -326,7 +326,7 @@ inline.lexer = function(str) { } else { link = { href: cap[2], - title: cap[3] + title: unquote(cap[3]) }; } out += '