W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: problem with Tidy and some Frontpage html

From: Dave Raggett <dsr@w3.org>
Date: Sun, 17 Sep 2000 11:27:35 +0100 (GMT Daylight Time)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
cc: Drew Burton <drb@ams.org>, html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10009171123400.-406633@hazel.hpl.hp.com>
On Wed, 6 Sep 2000, Bjoern Hoehrmann wrote:

> * "Drew Burton" <drb@ams.org> wrote:
> | Tidy throws away a name-anchor when it is represented as:
> | "<P><A NAME="clipboard"><H3>Clipboard</H3></A><P>"
> |
> | That becomes "<H3>Clipboard</H3>".
> 
> Hm, Tidy 7th July 1999:
> 
> <h3><a name="clipboard">Clipboard</a></h3>
> 
> This is what you want and what is the right thing to do. Seems,
> that there were some changes for inline/blocklevel wrapping.

The mechanism for pushing/popping inline elements and for
treating <a> interact in subtle ways. I hope that this time
things will work better in the next release.

  <a name="foo"><h3>my heading</h3>

should be mapped to:

  <h3><a name="foo">my heading</a></h3>

and

  <a href="bar">some text<a>

to

  <a href="bar">some text</a>

and

  <a href="bar">some text<a href="foo"> ...

to

  <a href="bar">some text</a><a href="foo"> ...

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Sunday, 17 September 2000 06:27:44 GMT

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