W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

Re: Change in indent style

From: Charles Reitzel <creitzel@rcn.com>
Date: Fri, 28 Feb 2003 12:55:58 -0500
Message-Id: <>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: html-tidy@w3.org

Hi Vladimir,

Yes, the behavior of the -i command line option was changed to match its 
historical behavior, namely --indent yes. For details, 
see  http://sourceforge.net/mailarchive/message.php?msg_id=2512745.

To get the prior output, use this:

--indent auto

See http://tidy.sourceforge.net/docs/quickref.html#indent

Note, --indent yes (and, therefore, -i) is deprecated because the liberties 
it takes with whitespace are known to cause layout problems in browsers.


At 07:53 PM 2/28/2003 +0300, Vladimir Prus wrote:

>I've noticed that the recent C version of tidy
>     (HTML Tidy for Linux/x86 released on 1st January 2003)
>as well as
>     HTML Tidy for Linux/x86 released on 1st November 2002
>produces output quite different from that of
>     HTML Tidy for Linux/x86 (release date: 1st October 2002; built on 
> Oct  8
>      2002, at 23:33:07)
>when using "-i -wrap 78" options.
>For example, <h3> element is now split into three lines, except of been 
>placed on one. This is quite troublesome, because I'm using tidy to make 
>sure that changes to html documentation result in minimal textual 
>difference. If several persons you different versions of tidy, or tidy 
>behaviour changes, the difference between document version is rather large.
>Is there a way to get older behaviour back with command line switches. 
>More general question: is there a place where changes in formatting 
>behaviour are documented, so that I can learn proper combination of 
>switches myself.
Received on Friday, 28 February 2003 12:46:19 UTC

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