|
|
@ -11,8 +11,6 @@ function skipBulletListMarker(state, startLine) { |
|
|
|
pos = state.bMarks[startLine] + state.tShift[startLine]; |
|
|
|
max = state.eMarks[startLine]; |
|
|
|
|
|
|
|
if (pos >= max) { return -1; } |
|
|
|
|
|
|
|
marker = state.src.charCodeAt(pos++); |
|
|
|
// Check bullet
|
|
|
|
if (marker !== 0x2A/* * */ && |
|
|
@ -36,6 +34,7 @@ function skipOrderedListMarker(state, startLine) { |
|
|
|
pos = state.bMarks[startLine] + state.tShift[startLine], |
|
|
|
max = state.eMarks[startLine]; |
|
|
|
|
|
|
|
// List marker should have at least 2 chars (digit + dot)
|
|
|
|
if (pos + 1 >= max) { return -1; } |
|
|
|
|
|
|
|
ch = state.src.charCodeAt(pos++); |
|
|
|