script tag need escaped in javascript to support inline in a html page #4939

mrduguo opened this Issue Sep 4, 2012 · 2 comments


None yet

2 participants

mrduguo commented Sep 4, 2012

When inline the current jquerymobile inside html script tag, it broken due to a script tag not escaped in following line:

The fix is to add a back slash before the forward slash.


      domain && iframe_doc.write( '<script>document.domain="' + domain + '"</script>' );


      domain && iframe_doc.write( '<script>document.domain="' + domain + '"<\/script>' );

Related background reading:

@gseguin gseguin was assigned Mar 19, 2013
gseguin commented Apr 18, 2013

That would be a bug to file against, we'll update our copy if it gets fixed.

gseguin commented Apr 18, 2013

Closed #4939

@gseguin gseguin closed this Apr 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment