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