Discussions
NS Escaping Javascript Tags
Hello!
Today, after close to a year of operation, a customer's site started showing script errors. The cause?
I have a web site tag that (simplified) contains:
<script type="text/javascript"><A_TAG_THAT_CONTAINS_SCRIPT></script>
the content from A_TAG_THAT_CONTAINS_SCRIPT contains a Javascript AND operator which is, as of today, being escaped to a pair of html ampersand entities. None of Firefox, Chrome or IE 8 like this.
Why now? Why today? If I wanted my ampersands escaped I'd do it myself. Let's break things just before the most important shopping weekend of year shall we?