New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site with html in CDATA tag in script tag gets broken by rewrite_javascript #542

Closed
GoogleCodeExporter opened this Issue Apr 6, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter

GoogleCodeExporter commented Apr 6, 2015

http://www.pro-it-support.co.uk/?ModPagespeed=off has this:

<script type="text/javascript">
<![CDATA[<link 
href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700&subset=latin,lat
in-ext' rel='stylesheet' type='text/css'>]]>
</script>

http://www.pro-it-support.co.uk/?ModPagespeedFilters=rewrite_javascript has 
this:

<script type="text/javascript">//<![CDATA[
<![CDATA[<link 
href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700&subset=latin,lat
in-ext'rel='stylesheet'type='text/css'>]]>
//]]></script>

I think mod_pagespeed should not have added the extra CDATA tag.

Original issue reported on code.google.com by jmara...@google.com on 18 Oct 2012 at 12:12

@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Original comment by jmara...@google.com on 1 Nov 2012 at 3:33

  • Changed state: Started
@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

This issue was closed by revision r2125.

Original comment by jmara...@google.com on 1 Nov 2012 at 5:56

  • Changed state: Fixed
@GoogleCodeExporter

This comment has been minimized.

GoogleCodeExporter commented Apr 6, 2015

Original comment by jmara...@google.com on 1 Nov 2012 at 5:56

  • Added labels: Milestone-v23, release-note
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment