|
@ -29,6 +29,10 @@ function processDelimiters(state, delimiters) { |
|
|
minOpenerIdx = openersBottom[closer.marker][closer.length % 3]; |
|
|
minOpenerIdx = openersBottom[closer.marker][closer.length % 3]; |
|
|
|
|
|
|
|
|
openerIdx = closerIdx - closer.jump - 1; |
|
|
openerIdx = closerIdx - closer.jump - 1; |
|
|
|
|
|
|
|
|
|
|
|
// avoid crash if `closer.jump` is pointing outside of the array, see #742
|
|
|
|
|
|
if (openerIdx < -1) openerIdx = -1; |
|
|
|
|
|
|
|
|
newMinOpenerIdx = openerIdx; |
|
|
newMinOpenerIdx = openerIdx; |
|
|
|
|
|
|
|
|
for (; openerIdx > minOpenerIdx; openerIdx -= opener.jump + 1) { |
|
|
for (; openerIdx > minOpenerIdx; openerIdx -= opener.jump + 1) { |
|
|