mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Remove newly-dead code due to multi-line setext header support in markdown-it.
This commit is contained in:
parent
c1956afd66
commit
cfef715ed3
1 changed files with 0 additions and 7 deletions
|
|
@ -469,13 +469,6 @@ module.exports = [
|
|||
}
|
||||
} else if (token.type === "heading_close") {
|
||||
needBlankLine = true;
|
||||
} else if (token.type === "inline") {
|
||||
token.content.split(shared.newLineRe)
|
||||
.forEach(function forLine(line, offset) {
|
||||
if (token.map && /^(-+|=+)\s*$/.test(line) && offset) {
|
||||
errors.push(token.map[0] + offset);
|
||||
}
|
||||
});
|
||||
}
|
||||
if (token.map) {
|
||||
if (needBlankLine) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue