praveenvijayan / grunt-html-validation

W3C html validaton grunt plugin. Validate all files in a directory automatically.
MIT License
75 stars 39 forks source link

Relax Error is not working for a particular string. #43

Closed noducks closed 10 years ago

noducks commented 10 years ago

Relax error works fine for me for these:

"Attribute <br is not serializable as XML 1.0."
"No space between attributes."

But not this line...

"Element tags-input not allowed as child of element div in this context. (Suppressing further errors from this subtree.)"

Thought it might be something to do with your matching algorithm, maybe given the two full-stops?

noducks commented 10 years ago

Not to worry. I just managed to suppress the error, by excluding the part in brackets.

"Element tags-input not allowed as child of element div in this context."