W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2008

[whatwg] Script, style and backwards compatibility

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 9 May 2008 00:13:20 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0805090006530.23610@hixie.dreamhostps.com>
On Fri, 9 May 2008, Samuel Santos wrote:
> >
> > Is there really any need to escape the contents of <script>/<style> at 
> > all these days?
> 
> In order to validate a page as valid HTML/XHTML you need to escape 
> inline <script> when using characters like &.

You mean with //<![CDATA[ and so forth? I don't think we want to mention 
this either really.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 8 May 2008 17:13:20 UTC

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