Add MD033 with tests, rename test file.

This commit is contained in:
David Anson 2015-04-13 08:47:15 -07:00
parent 1da7064094
commit 495fbac6fd
9 changed files with 49 additions and 5 deletions

View file

@ -607,5 +607,17 @@ module.exports = [
prevLine = line;
});
}
},
{
"name": "MD033",
"desc": "Inline HTML",
"tags": [ "html" ],
"func": function MD033(params, errors) {
filterTokens(params.tokens, "html_inline", "html_block")
.forEach(function forToken(token) {
errors.push(token.lineNumber);
});
}
}
];