W3C home > Mailing lists > Public > www-validator@w3.org > April 2013

Re: [VE][HTML5] Unescaped ampersand within img src tag

From: David Dorward <david@dorward.me.uk>
Date: Wed, 3 Apr 2013 09:55:20 +0100
Cc: "www-validator@w3.org" <www-validator@w3.org>
Message-Id: <316A6222-4B04-4C62-9A08-528677F87893@dorward.me.uk>
To: ltimt haw <ultimateshadow@hotmail.it>

On 2 Apr 2013, at 18:04, ltimt haw <ultimateshadow@hotmail.it> wrote:

> Simply, that & does not have to be escaped to &amp;

Yes, it does. Browsers can usually (not always) error recover from & being expressed as & instead of &amp;, but that doesn't remove the requirement.

> , it would produce errors.

What errors would it produce? In what clients? I'm not aware of any browser that fails to successfully parse `&amp;` in an HTML attribute value.

-- 
David Dorward
http://dorward.co.uk
Received on Wednesday, 3 April 2013 08:55:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC