Pretty Print/Fix does not fix all

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
rag_gupta
Rank II - Novice
Rank II - Novice
Posts: 28
Joined: Tue Nov 30, 2010 10:17 pm
Contact:

Pretty Print/Fix does not fix all

Post by rag_gupta » Tue Sep 20, 2011 8:34 am

I've the flag 180 set and using Strict to validate HTML as you've mentioned steps in: http://www.htmlvalidator.com/CSEForum/v ... f=1&t=1255
But Pretty Fix/Print does not correct tags like <br> <img>. It should change them to <br /> and <img />.
Ideally after running Pretty Fix/Print pressing F6 shouldn't elicit any more errors. At least those which can be implicitly corrected.

There may be other tags as well, but those two I've encountered so far and correcting them is manually is time taking and error prone for long lines.

Can you please add it in CSE?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3453
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Pretty Print/Fix does not fix all

Post by Albert Wiersch » Tue Sep 20, 2011 9:08 am

Flags don't affect HTML Tidy results. It sounds like you should force the HTML Tidy output XHTML.

Also, please note that because HTML Tidy is a 3rd party tool, I don't have any control over its output, other than the control that its options provide.

I hope this helps!
Image
Albert Wiersch

Post Reply