vscode-webvalidation-extension
vscode-webvalidation-extension copied to clipboard
XHTML *is* valid HTML !
First, thanks a lot for this great extension ! I use it for some years now with my students, and it proves much useful.
I have some minor grief though : I expect my students HTML documents to be also valid as XML, and so to use trailing slashes in self-closing tags, like .
(This is no so uncommon I think, and even some formatters like
prettier
enforce this, leading to a code easier to read and to maintain IMHO.)
I've seen you've added recently a nice option to disable info (or warnings). However, even if disabled, info presence result in a message "This HTML document is not valid."
That all pages formatted with prettier
get this message is not only quite perturbing for beginners like my students, it is also incorrect, since such a page may be perfectly valid.
So, I think the message should conform to W3C validation tool behaviour :
- errors and warnings result in an invalid page
- info don't impact page validity
Thanks for your attention, Regards.