[whatwg] Script, style and backwards compatibility

On Fri, 09 May 2008 00:50:20 +0100, Samuel Santos <samaxes at gmail.com>  
wrote:

> In order to validate a page as valid HTML/XHTML you need to escape inline
> <script> when using characters like &.

You can use:

/*<![CDATA[*/ & /*]]>*/

It's compatible with both HTML and XHTML.

-- 
regards, Kornel Lesi?ski

Received on Thursday, 8 May 2008 17:08:42 UTC