Request: Swapping more HTML tags

Hi,

The following ILLEGAL html constructs, but by browsers permissed, is not handled

in a constructive fasion by tidy:
<a name="x">
  <h1>
    XX
  </h1>
</a>
==>
<h1>
  XX
</h1>

And:
<a href="x"><dd>XX</a> xx</dd>
==>
<dd><p><a href="x"></a></p></dd>
<dd>XX xx</dd>

The Tidy documentation says that Tidy will convert:
<it><h1>XX</h1></it> ==> <h1><it>XX</it></h1>
is there any way to convince Tidy to do likewise for <a> tags?

Regards,

--
Kim Bisgaard

Oersted Science Data Center
Solar-Terrestrial Physics Division           Phone: +45 3915 7495 (direct)
Danish Meteorological Institute              Fax: +45 3915 7460 (division)
http://www.dmi.dk/solar-terrestrial/ -- Division homepage
http://www.dmi.dk/projects/oersted/  -- Oersted Satellite
http://www.dmi.dk/projects/wdcc1/    -- WDC C1 for geo-magnetism
  These are our official Web addresses - ignore any change in the server name
  which may occur while browsing this site. Unfortunately, these pages are
  not reachable via links from the main institute pages - http://www.dmi.dk

Received on Thursday, 5 July 2001 04:14:16 UTC