Re: Change in indent style

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.

hth,
Charlie

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


>Hello,
>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.
>
>TIA,
>Volodya

Received on Friday, 28 February 2003 12:46:19 UTC