You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/03/05 02:03:35 UTC
cvs commit: cocoon-2.1/src/blocks/fop/samples/misc fix-imagelinks.xsl
joerg 2004/03/04 17:03:35
Modified: src/blocks/fop/samples/misc fix-imagelinks.xsl
Log:
make image working again for minimal fo2pdf sample: realpath no longer has a trailing space
Revision Changes Path
1.2 +1 -1 cocoon-2.1/src/blocks/fop/samples/misc/fix-imagelinks.xsl
Index: fix-imagelinks.xsl
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/fop/samples/misc/fix-imagelinks.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fix-imagelinks.xsl 22 Jun 2003 06:47:40 -0000 1.1
+++ fix-imagelinks.xsl 5 Mar 2004 01:03:35 -0000 1.2
@@ -22,7 +22,7 @@
<xsl:value-of select="$ctxroot"/>
<xsl:choose>
<xsl:when test="starts-with(., '/')">
- <xsl:value-of select="substring(., 2)"/>
+ <xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$dir"/>