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

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

From: Jason Manaigre <jmanaigre@iisd.ca>
Date: Fri, 7 Feb 2003 11:43:05 -0600
Message-ID: <7028701EB59F57489FBE7FD1519D97C005D96A@electron.iisd.ca>
To: <html-tidy@w3.org>

Hey Charles, I'm sure you hear allot of complaining, always remember, this program kicks some serious ass and I use it everyday. It's fantastic...

I think I'm the only developer who doesn't like indenting..<G>



Works well, no indenting and still have the empty lines, perfect...

One question tho, when new version of tidy are built, is there ever an announcement that new entries in the config file are needed? Such as indent-attributes, hadn't seen that one before...

Jason E.J. Manaigre
International Institute for Sustainable Development
Winnipeg, Manitoba, Canada
Web Development | HTML God
Websites: http://www.iisd.org
Email: mailto:jmanaigre@iisd.ca | Phone: 1.204.958.7744 

-----Original Message-----
From: Charles Reitzel [mailto:creitzel@rcn.com] 
Sent: Thursday, February 06, 2003 4:34 PM
To: Jason Manaigre
Cc: html-tidy@w3.org
Subject: RE: Suppressing the extra CR after an </tag>

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,

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: 
>-----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
>   <second>some text</second>
>   <third>more text</third>
>   <fourth attrib="value" />
>   <fifth>Hello World</fifth>
>To pretty-print
>   <second>some text</second>
>   <third>more text</third>
>   <fourth attrib="value" />
>   <fifth>Hello World</fifth>
>This would make my XML files more readable I find.
Received on Friday, 7 February 2003 12:43:07 UTC

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