Re: How to teach HtmlTidy to ignore jsp and struts tags

Am 08.12.2006 um 08:17 schrieb Satheesh:

> Hi,
>     I need to teach the HtmlTidy to ignore jsp tags and struts tag  
> like <html-el:form> and<bean:message>
>
>     I tried with config.txt

HTMLTidy tidies up the HTML output, not the source of a language like  
JSP or PHP which eventually might produce HTML at the end. For  
integrating Tidy best in a JSP framework, you would do better to use  
JTidy from http://sourceforge.net/projects/jtidy and integrate it  
into your framework, which might do the job best for your needs.



Sierk Bornemann

Received on Friday, 8 December 2006 15:32:19 UTC