duplicate id problem

Hi all,

Running this example through Tidy:
  <h1 id="val1"><a name="val1">Some text</a></h1>
with the setting "output-xhtml = yes", the output is:
  <h1 id="val1"><a name="val1" id="val1">Some text</a></h1>

Tidy inserts a id for the <a> tag and copies the content from
the name attribute, but this causes a id conflict with the
<h1> tag.

How come?

Best regards,

Mattias###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/

Received on Friday, 14 March 2003 04:32:33 UTC