We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0f6543 commit 2947c68Copy full SHA for 2947c68
preprocess.xsl
@@ -90,8 +90,9 @@
90
<xsl:template match="/html/head/link[@rel = 'EditURI']"/>
91
92
<!-- remove Google Analytics scripts -->
93
- <xsl:template match="/html/head/script[contains(text(),'google-analytics.com/ga.js')]"/>
94
- <xsl:template match="/html/head/script[contains(text(),'pageTracker')]"/>
+ <xsl:template match="/html/body/script[contains(text(),'google-analytics.com/ga.js')]"/>
+ <xsl:template match="/html/body/script[contains(@src, 'google-analytics.com/ga.js')]"/>
95
+ <xsl:template match="/html/body/script[contains(text(),'pageTracker')]"/>
96
97
<!-- update links to resources: -->
98
<xsl:template match="//@href | //@src">
0 commit comments