Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8
-
None
-
Patch available
Description
With the tigris skin the following statements appear in the HTML files:
<style type="text/css">
/* */
@import "
../
skin/tigris.css";
@import "
../
skin/quirks.css";
@import "
../
skin/inst.css";
/* */
</style>
This does not work since each URL should be on a single line:
<style type="text/css">
/* */
@import "skin/tigris.css";
@import "skin/quirks.css";
@import "skin/inst.css";
/* */
</style>
The error is in main/webapp/skins/tigris/xslt/html/site-to-xhtml.xsl:
<style type="text/css">
/* <![CDATA[ */
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/tigris.css";
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/quirks.css";
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/inst.css";
/* ]]> */
</style>
which should be changed to:
<style type="text/css">
<xsl:text>
/* <![CDATA[ */
@import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/tigris.css";
import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/quirks.css";
@import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/inst.css";
/* ]]> */
</xsl:text>
</style>
<style type="text/css">
/* */
@import "
../
skin/tigris.css";
@import "
../
skin/quirks.css";
@import "
../
skin/inst.css";
/* */
</style>
This does not work since each URL should be on a single line:
<style type="text/css">
/* */
@import "skin/tigris.css";
@import "skin/quirks.css";
@import "skin/inst.css";
/* */
</style>
The error is in main/webapp/skins/tigris/xslt/html/site-to-xhtml.xsl:
<style type="text/css">
/* <![CDATA[ */
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/tigris.css";
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/quirks.css";
@import "]]>
<xsl:value-of select="$root"/>
<![CDATA[skin/inst.css";
/* ]]> */
</style>
which should be changed to:
<style type="text/css">
<xsl:text>
/* <![CDATA[ */
@import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/tigris.css";
import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/quirks.css";
@import "]]></xsl:text>
<xsl:value-of select="$root"/>
<xsl:text><![CDATA[skin/inst.css";
/* ]]> */
</xsl:text>
</style>