mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update break-all-the-rules.md for new rules, fix bug in MD033.
This commit is contained in:
parent
5d6d9d2b3b
commit
f1cd4e0fbb
3 changed files with 41 additions and 4 deletions
|
|
@ -624,10 +624,13 @@ module.exports = [
|
|||
"desc": "Inline HTML",
|
||||
"tags": [ "html" ],
|
||||
"func": function MD033(params, errors) {
|
||||
filterTokens(params.tokens, "html_inline", "html_block")
|
||||
filterTokens(params.tokens, "html_block")
|
||||
.forEach(function forToken(token) {
|
||||
errors.push(token.lineNumber);
|
||||
});
|
||||
forEachInlineChild(params, "html_inline", function forToken(token) {
|
||||
errors.push(token.lineNumber);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue