You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2004/11/12 15:30:55 UTC
svn commit: rev 57523 - lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util
Author: michi
Date: Fri Nov 12 06:30:53 2004
New Revision: 57523
Modified:
lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl
Log:
thanks to Josias the javascript is now copied properly
Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl (original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/xslt/util/page2xhtml.xsl Fri Nov 12 06:30:53 2004
@@ -33,9 +33,10 @@
<head>
<title><xsl:value-of select="page:title"/></title>
<link rel="stylesheet" type="text/css" href="{$contextprefix}/lenya/css/default.css" title="default css"/>
+ <!-- the following line is a fix for an Internet Explorer incompatibility -->
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
<xsl:if test="count(xhtml:script) > 0">
- <script><xsl:copy-of select="xhtml:script/@*" /></script>
+ <script><xsl:copy-of select="xhtml:script/@*|xhtml:script/node()" /> </script>
</xsl:if>
</head>
<body>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org