- From: Andrew Wan <andrew_wan1980@hotmail.com>
- Date: Thu, 14 Aug 2008 13:55:02 +0000
- To: <html-tidy@w3.org>
- Message-ID: <BAY139-W4876917520B67FF6B65589E3720@phx.gbl>
I've used so many different ports/branches of Tidy just to find a good one that reformats/layout my code:
- HTMLTrim (Cory Nelson) 0.2.8
- TidyGUI (André Blavier) 1.1.5
- TidyUI (Charles Reitzel) 1.0
- wxTidy (Gary Harris) 0.1b
- HTML-Kit 292
All of them I found reformat/layout my code the same wrong way. I have a HTML form which is all on one line, eg.
<form name="Example" id="Example" target="_self" action="index.asp" method="post">
<input name="Value1" value="1234567890123456789012345678901234567890" type="hidden">
<input name="Value2" value="2" type="hidden" />
<input name="Value3" value="3" type="hidden">
</form>
Then all Tidy apps would produce:
<input name="Value1" value= "1234567890123456789012345678901234567890" type= "hidden"><input name="Value2" value="2" type= "hidden"><input name="Value3" value="3" type= "hidden">
Why?
I tried both indent auto and indent yes. And indent-attributes is no.
_________________________________________________________________
Get more from your digital life. Find out how.
http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008
Received on Friday, 15 August 2008 22:57:24 UTC