try making relative urls work in root folder as well

svn path=/branches/test/; revision=29348
This commit is contained in:
2014-09-24 13:12:27 +00:00
parent 1f6e477c54
commit 35fbb41eea
+1 -1
View File
@@ -33,7 +33,7 @@
<xsl:otherwise>
<xsl:element name="li">
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="substring-after(/buildinfo/@filename, /buildinfo/@dirname)"/>.<xsl:value-of select="@id"/>.html</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="substring-after(/buildinfo/@filename, concat("/", /buildinfo/@dirname))"/>.<xsl:value-of select="@id"/>.html</xsl:attribute>
<xsl:value-of select="." disable-output-escaping="yes"/>
</xsl:element>
</xsl:element>