What parts of JavaScript code do I have to escape inside a script element in a HTML page? Is <>& enough or too much?
script
<>&
[EDI
Escaped <, > and & does not work with many browsers. It is good an enough if you put everything inside a CDATA section. Please note that the CDATA section itself will have to be in a JavaScript comment, for this to work with all browsers.