Closed (fixed)
Project:
Drupal core
Version:
6.20
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 08:06 UTC
Updated:
29 Jan 2011 at 10:53 UTC
Hi,
When i view the page source of my drupal site, i see a javascript in place of the print $closure; line in my page.tpl.php as follows:
<script type="text/javascript">
<!--//--><![CDATA[//><!--
var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-20414996-1"]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
//--><!]]>
</script>
</script>
I have to remove the duplicate /script. How do i do it?
Thanks
Comments
Comment #1
ahashmi06 commentedThere was an error in the page.tpl.php file.