Jtidy and Custom Tags

R

ranjithkumar

Dear All :

I am planning to use Jtidy for clearing my generated html to make it
pure xhtml. I want to have some custom tags defined inside my html
code which should not be touched by Jtidy. Is there a way , a
configuration or some code change that will help me achieve this.

Greatly appreciate your help.

Cheers - Ranjth
 
D

Daniel Pitts

Dear All :

I am planning to use Jtidy for clearing my generated html to make it
pure xhtml. I want to have some custom tags defined inside my html
code which should not be touched by Jtidy. Is there a way , a
configuration or some code change that will help me achieve this.

Greatly appreciate your help.

Cheers - Ranjth

If you have custom tags within XML, they should be namespaced. (eg
<mytags:tag>) Try Jtidy with the namespaced tags, and see if it works
out of the box.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top