W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

<A> has hard times in tidy

From: Kim Bisgaard <kib@dmi.dk>
Date: Mon, 21 May 2001 08:47:04 -0400 (EDT)
Message-ID: <3B090E2B.B4B0BEB2@dmi.dk>
To: html-tidy@w3.org
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, 24 May 2001 00:55:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:45 GMT