JTidy bug, adding extra <font> tags around text

Why does tidy add an extra <font> tag around the text, converting...

<font><newtag param="value">some bogus text</newtag></font>

to...

<FONT><NEWTAG param="value"><FONT>some bogus
text</FONT></NEWTAG></FONT>

"newtag" is configured as a new-inline-tag.

If I hack it by specifying "font" as either a new pre-tag or a new
block-level tag, I get what I desire:

<FONT><NEWTAG param="value">some bogus text</NEWTAG></FONT>

But it just doesn't sound right to do that hack. Anyone know why the
behavior and if there's any workaround?  I have jtidyr6 based on tidy
Aug4,2000. Thanks.

Received on Thursday, 13 December 2001 19:52:51 UTC