|
@ -193,10 +193,11 @@ module.exports = function list(state, startLine, endLine, silent) { |
|
|
if (nextLine >= endLine) { break; } |
|
|
if (nextLine >= endLine) { break; } |
|
|
|
|
|
|
|
|
if (isEmpty(state, nextLine)) { |
|
|
if (isEmpty(state, nextLine)) { |
|
|
nextLine++; |
|
|
|
|
|
if (nextLine >= endLine || isEmpty(state, nextLine)) { |
|
|
if (nextLine >= endLine || isEmpty(state, nextLine)) { |
|
|
// two newlines end the list
|
|
|
// two newlines end the list
|
|
|
break; |
|
|
break; |
|
|
|
|
|
} else { |
|
|
|
|
|
nextLine++; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|