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

RE: Suppressing the extra CR after an </tag>

From: Charles Reitzel <creitzel@rcn.com>
Date: Thu, 06 Feb 2003 17:33:46 -0500
Message-Id: <4.3.2.7.2.20030206172903.02ec4658@pop.rcn.com>
To: "Jason Manaigre" <jmanaigre@iisd.ca>
Cc: <html-tidy@w3.org>

There are three settings for --indent: yes, no and auto.

For yes and no, Tidy does not print any empty lines.  For auto, it still 
prints an empty line between  many block elements, but not as many as it 
used to.  We complaints no matter what we do ... <grin>.

-i is equivalent to --ident yes

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

take it easy,
Charlie

At 03:49 PM 2/6/2003 -0600, Jason Manaigre wrote:
>Hi everyone, Alex I downloaded the latest tidy.exe for Windows and it was 
>doing just that, removing all CR after end tags... so you may want to try it...
>
>But i was wondering how to turn that back on? I don't mind the extra space 
>when editing large xhtml files...
>
>Any ideas?
>
>
>
>Jason E.J. Manaigre
>International Institute for Sustainable Development
>Winnipeg, Manitoba, Canada
>Web Development | HTML God
>Websites: <http://www.iisd.org/>http://www.iisd.org
>Email: <mailto:jmanaigre@iisd.ca>mailto:jmanaigre@iisd.ca | Phone: 
>1.204.958.7744
>-----Original Message-----
>From: Alex Grässer-CTK [mailto:alex@computicket.com]
>Sent: Wednesday, February 05, 2003 6:40 AM
>To: 'html-tidy@w3.org'
>Subject: Suppressing the extra CR after an </tag>
>
>Is there a way to suppress the extra Carriage return after and end tag?
>
>I.e.. Instead of
><first>
>   <second>some text</second>
>
>   <third>more text</third>
>
>   <fourth attrib="value" />
>
>   <fifth>Hello World</fifth>
></first>
>
>To pretty-print
><first>
>   <second>some text</second>
>   <third>more text</third>
>   <fourth attrib="value" />
>   <fifth>Hello World</fifth>
></first>
>
>This would make my XML files more readable I find.
Received on Thursday, 6 February 2003 17:25:25 GMT

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