[yelp-xsl] html.xsl: Drop language attribute from script tag



commit 7f5e869dd45269cdf202d399e97c623200fd6d9d
Author: Shaun McCance <shaunm gnome org>
Date:   Sat May 14 17:13:28 2011 -0400

    html.xsl: Drop language attribute from script tag

 xslt/common/html.xsl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index 51c225e..18cb2e3 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -1118,7 +1118,7 @@ ouput the contents of that tag.
   <xsl:call-template name="html.js.custom">
     <xsl:with-param name="node" select="$node"/>
   </xsl:call-template>
-  <script type="text/javascript" language="javascript">
+  <script type="text/javascript">
     <xsl:call-template name="html.js.content">
       <xsl:with-param name="node" select="$node"/>
     </xsl:call-template>
@@ -1140,14 +1140,14 @@ output relative to @{html.js.root}.
 -->
 <xsl:template name="html.js.jquery">
   <xsl:param name="node" select="."/>
-  <script type="text/javascript" language="javascript">
+  <script type="text/javascript">
     <xsl:attribute name="src">
       <xsl:value-of select="$html.js.root"/>
       <xsl:text>jquery.js</xsl:text>
     </xsl:attribute>
   </script>
   <xsl:if test="$html.syntax.highlight">
-    <script type="text/javascript" language="javascript">
+    <script type="text/javascript">
       <xsl:attribute name="src">
         <xsl:value-of select="$html.js.root"/>
         <xsl:text>jquery.syntax.js</xsl:text>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]