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: Thu, 6 Feb 2003 15:49:54 -0600
Message-ID: <7028701EB59F57489FBE7FD1519D97C0953019@electron.iisd.ca>
To: <html-tidy@w3.org>
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 | 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>
	
	

	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 
	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 Thursday, 6 February 2003 16:54:19 GMT

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