I\'ve seen this on every Yahoo! news page, at the bottom of the source code,
and failed to understand why they break the script word like that.
<
For a full discussion of this, see:
http://www.wwco.com/~wls/blog/2007/04/25/using-script-in-a-javascript-literal/
The short answer is that your code is parsed in two discrete steps.
The first one is XML. And that means that the element . It's important to remember that XML elements are content agnostic. That means that the parser doesn't know yet that there's JavaScript in there.
Once it has the contents of the