Re: [RFC] Improve HTML escape

From: Date: Sun, 02 Feb 2014 09:38:22 +0000
Subject: Re: [RFC] Improve HTML escape
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Sun, Feb 2, 2014 at 4:31 AM, Yasuo Ohgaki <[email protected]> wrote:
> The code is broken in first place since attribute must be enclosed by
> "(HTML5/XHTML) or '(HTML4), but many (if not most) browsers just allows
> attributes without qoutes.

Well, the HTML5 specification says attribute values can be left
unquoted, so I'd say that the "code is broken" statement is invalid.
http://www.w3.org/TR/html-markup/syntax.html#syntax-attr-unquoted


Thread (37 messages)

« previous php.internals (#71981) next »