W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2000

img src="xx&xx" becomes "xx&xx"

From: A Sims <sims@camtech.net.au>
Date: Tue, 18 Apr 2000 09:10:29 -0400 (EDT)
Message-ID: <003601bfa937$1a9f34c0$c1ad26cb@alexruth>
To: <www-amaya@w3.org>
I believe this was discussed some time ago but is still not fixed in 3.0.

In my page http://www.adelaide.net.au/~sims/jafa/index.html I have the line


but after editing with Amaya it becomes


I need the &amp; to remain intact to pass the validator test at
http://validator.w3.org/ so that the URI conforms to section 5.3.2 of the
HTML 4.0 recommendation:

"Authors should use "&amp;" (ASCII decimal 38) instead of "&" to avoid
confusion with the beginning of a character reference (entity reference open
delimiter). Authors should also use "&amp;" in attribute values since
character references are allowed within CDATA attribute values."

Received on Tuesday, 18 April 2000 09:23:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:21 UTC