Browse Source

Fixed newline in link title

pull/41/head
Vitaly Puzrin 10 years ago
parent
commit
c7d4f7bcf6
  1. 2
      lib/helpers/parse_link_title.js

2
lib/helpers/parse_link_title.js

@ -34,7 +34,7 @@ module.exports = function parseLinkTitle(str, pos, max) {
if (code === marker) { if (code === marker) {
result.pos = pos + 1; result.pos = pos + 1;
result.lines = lines; result.lines = lines;
result.str = unescapeMd(str.slice(start + 1, pos)); result.str = unescapeMd(str.slice(start + 1, pos).replace(/\\\n/g, '\n'));
result.ok = true; result.ok = true;
return result; return result;
} else if (code === 0x0A) { } else if (code === 0x0A) {

Loading…
Cancel
Save