|
|
@ -212,7 +212,21 @@ module.exports = function blockquote(state, startLine, endLine, silent) { |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
if (terminate) { break; } |
|
|
|
|
|
|
|
if (terminate) { |
|
|
|
if (oldIndent !== 0) { |
|
|
|
// state.blkIndent was non-zero, we now set it to zero,
|
|
|
|
// so we need to re-calculate all offsets to appear as
|
|
|
|
// if indent wasn't changed
|
|
|
|
oldBMarks.push(state.bMarks[nextLine]); |
|
|
|
oldBSCount.push(state.bsCount[nextLine]); |
|
|
|
oldTShift.push(state.tShift[nextLine]); |
|
|
|
oldSCount.push(state.sCount[nextLine]); |
|
|
|
state.sCount[nextLine] -= oldIndent; |
|
|
|
} |
|
|
|
|
|
|
|
break; |
|
|
|
} |
|
|
|
|
|
|
|
oldBMarks.push(state.bMarks[nextLine]); |
|
|
|
oldBSCount.push(state.bsCount[nextLine]); |
|
|
|