W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2004

ignoring preformatted text

From: Steven Archuleta <sarchule@hotmail.com>
Date: Tue, 09 Nov 2004 14:22:38 -0700
To: html-tidy@w3.org
Message-ID: <BAY23-F38AHbx4Rrnu20003e55f@hotmail.com>

Hi,
  I'm using HTML Tidy (June 1, 2004 version for Windows) to format some 
DocBook XML files using the following:

tidy -xml -indent  <xmlfile>

Works great except for code sections which are entered within 
<programlisting> tags. These sections need to be left alone as it is 
important to maintain the formatting as-is (similar to the <pre> tag in 
HTML). Is there any way to have Tidy not apply any formatting to these 
particular sections?

Thanks,
Steve

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on Tuesday, 9 November 2004 22:56:45 GMT

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