W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2008

QUERY: always indents after = equals

From: Andrew Wan <andrew_wan1980@hotmail.com>
Date: Thu, 14 Aug 2008 13:55:02 +0000
Message-ID: <BAY139-W4876917520B67FF6B65589E3720@phx.gbl>
To: <html-tidy@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:59 GMT