emberjs/ember.js — pull request #1447 by mbreton (2012-10-15 15:00:31+00:00)
Title: Replace '<' at the end of Metamorph script by \x3C

This pull-request aims to prevent an escaping problem.

Some mobile ISPs (at least in France) contain transparent proxies to "optimize" web pages by aggregating all the JS and CSS files in one HTML page...

During this process all files are escaped, and the end script tag are replaced by : "

This problem is known. For example, to load JQuery script from the Google CDN, you can use the same solution as I used in the code attached. Like this:

http://stackoverflow.com/questions/8231048/why-use-x3c-instead-of-when-generating-html-from-javascript