|
@ -185,7 +185,7 @@ function links(state) { |
|
|
labelEnd = parseLinkLabel(state, start); |
|
|
labelEnd = parseLinkLabel(state, start); |
|
|
|
|
|
|
|
|
// parser failed to find ']', so it's not a valid link
|
|
|
// parser failed to find ']', so it's not a valid link
|
|
|
if (pos < 0) { return false; } |
|
|
if (labelEnd < 0) { return false; } |
|
|
|
|
|
|
|
|
pos = labelEnd + 1; |
|
|
pos = labelEnd + 1; |
|
|
if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) { |
|
|
if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) { |
|
|