W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] Allowing ">" in attribute values

From: Benjamin M. Schwartz <bmschwar@fas.harvard.edu>
Date: Thu, 24 Jun 2010 09:11:31 -0400
Message-ID: <4C235983.6040403@fas.harvard.edu>
On 06/24/2010 03:43 AM, Anne van Kesteren wrote:
> Why would it simplify parsing?

It greatly simplifies parsing when you just want to extract entire tags,
without immediately parsing the attributes.

>  It's rather nice to allow it for the
> <iframe srcdoc> feature.

The srcdoc already needs to be escaped and unescaped because of quotation
marks, so adding more escaping seems fine to me.

--Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100624/54054e10/attachment.pgp>
Received on Thursday, 24 June 2010 06:11:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC