Re: Require quotes around attributes for more characters

On Fri, 27 Feb 2009, Simon Pieters wrote:
>
> See
> 
> http://code.google.com/p/html5lib/issues/detail?id=92
> 
> and
> 
> http://code.google.com/p/html5lib/issues/detail?id=93
> 
> Maybe the spec should require quotes when an attribute value contains `, <, or
> one of
> 
> U+0009, U+000A, U+000B, U+000C, U+000D, U+0020, U+002F, U+00A0, U+1680,
> U+180E, U+180F, U+2000, U+2001, U+2002, U+2003, U+2004, U+2005, U+2006,
> U+2007, U+2008, U+2009, U+200A, U+2028, U+2029, U+202F, U+205F and U+3000
> 
> for better compat with legacy browsers, and to avoid security issues.

I haven't added this requirement to the spec, because the problems are not 
intrinsic problems with the language but transitory problems that will go 
away in due course.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 26 April 2009 19:47:28 UTC