Update break-all-the-rules.md for new rules, fix bug in MD033.

This commit is contained in:
David Anson 2015-04-16 09:39:04 -07:00
parent 5d6d9d2b3b
commit f1cd4e0fbb
3 changed files with 41 additions and 4 deletions

View file

@ -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);
});
}
},