Update dependencies: markdown-it to 7.0.0, browserify to 13.0.1, cpy-cli to 1.0.1, eslint to 2.13.1, glob to 7.0.5, istanbul to 0.4.4, uglify-js to 2.6.4.

Handle new support for multi-line setext headers.
This commit is contained in:
David Anson 2016-06-23 22:41:47 -07:00
parent 48959afc33
commit c1956afd66
4 changed files with 15 additions and 13 deletions

View file

@ -467,7 +467,6 @@ module.exports = [
if ((token.map[0] - prevMaxLineIndex) === 0) {
errors.push(token.lineNumber);
}
prevHeadingLineNumber = token.lineNumber;
} else if (token.type === "heading_close") {
needBlankLine = true;
} else if (token.type === "inline") {
@ -487,6 +486,9 @@ module.exports = [
}
prevMaxLineIndex = Math.max(prevMaxLineIndex, token.map[1]);
}
if (token.type === "heading_open") {
prevHeadingLineNumber = token.lineNumber;
}
});
}
},