Re: problem with Tidy and some Frontpage html

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 UTC