Re: Tidy and Custom Tags

Hi Bill,

Good idea.  But it seems doable by the app or a simple helper function.  If 
you write a tld parser function, can you post it?   We could put it in the 
contrib section on Source Forge.

take it easy,
Charlie

At 11:50 AM 11/25/2002 -0500, Bill Burton wrote:

>Hello,
>
>A nice enhancement for formatting JSP's would be for Tidy/jTidy to 
>automatically add support for whatever tags are declared in the .tld (tag 
>descriptor library) file(s).  There would need to be a new option to allow 
>specifying the path to the web.xml so it could derive the path to the 
>.tld's or jar file(s) containing .tld's.
>
>-Bill
>
>Charles Reitzel wrote:
>>You can tell Tidy about new block, empty, inline and preformatted tags. 
>>See (respectively):
>>http://tidy.sourceforge.net/docs/quickref.html#new-blocklevel-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-empty-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-inline-tags
>>http://tidy.sourceforge.net/docs/quickref.html#new-pre-tags
>>take it easy,
>>Charlie
>>
>>At 10:18 AM 11/25/2002 +0000, Julian Voelcker wrote:
>>>I have a CMS app that stores chunks of HTML into a database, however am 
>>>noticing that the code provided by the editor isn't that clean and would 
>>>like to use Tidy to clean it up.
>>>
>>>The only problem is that we have added some of our own custom tags to 
>>>the html.
>>>
>>>Is there any way to provide Tidy with an exceptions list of tags to ignore?
>>>
>>>Cheers,
>>>
>>>Julian Voelcker
>>>The Virtual World (UK) Limited
>>>Cirencester, United Kingdom
>

Received on Monday, 25 November 2002 12:11:18 UTC