Browse Source

Allow arbitrary nesting of parentheses

pull/356/head
Yuki Izumi 8 years ago
parent
commit
7de3342ab1
No known key found for this signature in database GPG Key ID: 44A3D2C95E26BB14
  1. 1
      lib/helpers/parse_link_destination.js

1
lib/helpers/parse_link_destination.js

@ -59,7 +59,6 @@ module.exports = function parseLinkDestination(str, pos, max) {
if (code === 0x28 /* ( */) { if (code === 0x28 /* ( */) {
level++; level++;
if (level > 1) { break; }
} }
if (code === 0x29 /* ) */) { if (code === 0x29 /* ) */) {

Loading…
Cancel
Save