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

Suppressing the extra CR after an </tag>

From: Alex Grässer-CTK <alex@computicket.com>
Date: Wed, 5 Feb 2003 14:39:35 +0200
Message-ID: <70105C35D150D511BC0C006008CD3BE202A4E45B@COMPUTICK_MAIL>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hi

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.

Thanks for a great tool though!

Alexander Grässer
Senior Developer 
Computicket (Johannesburg) - www.computicket.com <www.computicket.com> 
Tel: +27 011 340 8135
Fax: +27 011 340 7288
Cell: +27 082 902 1852
e-mail: alex@computicket.com <mailto:alex@computicket.com
<mailto:alex@computicket.com> >

Internet House, Greenacres Office Park, cnr. Barry Herzog & Victory Rds.,
Victory Park.
Computicket, P.O.Box 84631, Greenside, 2034
Received on Wednesday, 5 February 2003 07:41:41 GMT

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