Fwd: preserve empty <code> elements

Charlie Reitzel <[email protected]> Tue, 04 Jul 2006 12:01:57 -0400
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
>Date: Sun, 2 Jul 2006 20:25:52 +0800
>From: yarco <[email protected]>
>To: [email protected]
>Subject: about html tidy
>
>  I'm using html tidy normally. It's ok. But i want a special feature:
>it won't do anything in <code></code>.
>  Because when i use the xsltproc to create an html file from docbook,
>the result may be:
><code>
>  //codes line
>  //codes line
></code>
>
>   When i use html tidy to format and output utf8 codeset, it always
>eat "\n". I need "\n" because i will highlight the code at next step.
>  What can i do? Or how to change tidy for myself using? Or how to
>change the source? Or something else...
>
>  Thanks.
>
>Yarco




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642