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

Is <pre> actually ignored?

From: Enoch Root <enokhroot@yahoo.com>
Date: Tue, 14 Oct 2003 14:19:35 -0700 (PDT)
Message-ID: <20031014211935.5210.qmail@web21308.mail.yahoo.com>
To: html-tidy@w3.org

Hi again;

I just experimented a little more, and found out that
new-pre-tags has nothing to do with the problem I
described in the previous email.

Briefly, if I have have the following in my XSL
stylesheet:

<pre>

lkjasd flkjsadf
       lkjasdf<foo bar='baz'/>
</pre>

tidy will obstinately convert it to:

<pre>

lkjasd flkjsadf
       lkjasdf
<foo bar='baz'/>
</pre>

Is there a way to make tidy to ignore <pre> or some
other tag contents ABSOLUTELY!  So that it won't even
try to parse and indent stuff within <pre>.

Thanks again.


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
Received on Tuesday, 14 October 2003 17:23:17 UTC

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