Page 1 of 1

Pretty Print/Fix does not fix all

Posted: Tue Sep 20, 2011 8:34 am
by rag_gupta
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?

Re: Pretty Print/Fix does not fix all

Posted: Tue Sep 20, 2011 9:08 am
by Albert Wiersch
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!