c7d4f7b
@ -34,7 +34,7 @@ module.exports = function parseLinkTitle(str, pos, max) {
if (code === marker) {
result.pos = pos + 1;
result.lines = lines;
result.str = unescapeMd(str.slice(start + 1, pos).replace(/\\\n/g, '\n'));
result.str = unescapeMd(str.slice(start + 1, pos));
result.ok = true;
return result;
} else if (code === 0x0A) {
@ -188,15 +188,11 @@ bar>)</p>
Coverage. parseLinkTitle
.
[foo](bar "ba)
<p>[foo](bar "ba)</p>
[foo](bar "ba\
z")
<p><a href="bar" title="ba
<p><a href="bar" title="ba\
z">foo</a></p>