|
|
@ -7,7 +7,7 @@ |
|
|
|
// this function assumes that first character ("[") already matches;
|
|
|
|
// returns the end of the label
|
|
|
|
function parseLinkLabel(state, start) { |
|
|
|
var level, found, marker, ok, |
|
|
|
var level, found, marker, |
|
|
|
labelEnd = -1, |
|
|
|
max = state.posMax, |
|
|
|
oldPos = state.pos, |
|
|
@ -36,9 +36,7 @@ function parseLinkLabel(state, start) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
ok = state.parser.skipToken(state); |
|
|
|
|
|
|
|
if (!ok) { state.pos++; } |
|
|
|
state.parser.skipToken(state); |
|
|
|
} |
|
|
|
|
|
|
|
if (found) { |
|
|
|