|
|
@ -7,7 +7,7 @@ var skipSpaces = require('../helpers').skipSpaces; |
|
|
|
|
|
|
|
|
|
|
|
module.exports = function blockquote(state, startLine, endLine, silent) { |
|
|
|
var nextLine, lastLineEmpty, oldTShift, oldBMarks, i, |
|
|
|
var nextLine, lastLineEmpty, oldTShift, oldBMarks, i, oldIndent, |
|
|
|
rules_named = state.lexerBlock.rules_named, |
|
|
|
pos = state.bMarks[startLine] + state.tShift[startLine], |
|
|
|
max = state.eMarks[startLine]; |
|
|
@ -26,6 +26,8 @@ module.exports = function blockquote(state, startLine, endLine, silent) { |
|
|
|
|
|
|
|
state.bqMarks[startLine]++; |
|
|
|
state.bqLevel++; |
|
|
|
oldIndent = state.blkIndent; |
|
|
|
state.blkIndent = 0; |
|
|
|
|
|
|
|
oldBMarks = [ state.bMarks[startLine] ]; |
|
|
|
state.bMarks[startLine] = pos; |
|
|
@ -112,6 +114,7 @@ module.exports = function blockquote(state, startLine, endLine, silent) { |
|
|
|
state.tShift[i + startLine] = oldTShift[i]; |
|
|
|
} |
|
|
|
state.bqLevel--; |
|
|
|
state.blkIndent = oldIndent; |
|
|
|
|
|
|
|
return true; |
|
|
|
}; |
|
|
|