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">
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">
I tried both indent auto and indent yes. And indent-attributes is no.
Get more from your digital life.  Find out how.
Received on Friday, 15 August 2008 22:57:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:57 UTC