|
|
@ -27,17 +27,15 @@ function processDelimiters(state, delimiters) { |
|
|
|
} |
|
|
|
|
|
|
|
minOpenerIdx = openersBottom[closer.marker][closer.length % 3]; |
|
|
|
newMinOpenerIdx = -1; |
|
|
|
|
|
|
|
openerIdx = closerIdx - closer.jump - 1; |
|
|
|
newMinOpenerIdx = openerIdx; |
|
|
|
|
|
|
|
for (; openerIdx > minOpenerIdx; openerIdx -= opener.jump + 1) { |
|
|
|
opener = delimiters[openerIdx]; |
|
|
|
|
|
|
|
if (opener.marker !== closer.marker) continue; |
|
|
|
|
|
|
|
if (newMinOpenerIdx === -1) newMinOpenerIdx = openerIdx; |
|
|
|
|
|
|
|
if (opener.open && opener.end < 0) { |
|
|
|
|
|
|
|
isOddMatch = false; |
|
|
|