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>

  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?


Express yourself instantly with MSN Messenger! Download today - it's FREE! 
Received on Tuesday, 9 November 2004 22:56:45 UTC

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