Is there any option I can setup to make tidy showing me warnings if quotes are missing around attri开发者_如何学Cbute values? At the moment I run tidy as follows:
tidy -xml -e test.html
Within test.html
:
<p id=foobar></p>
There's no warning but actually XML requires quotes. I don't need the corrected output. I want to use the -e
Option.
HTML Tidy for Windows released on 25 March 2009
Tidy will not throw warnings about attributes missing quotes as attribute values without spaces are valid in HTML (although not in XML, as you point out). I've checked the documentation here and here and unfortunately, I don't see any references to configuration options or settings that would yield the results you want.
精彩评论