jefft 2003/04/27 07:07:08
Modified: src/blocks/chaperon/samples/stylesheets wiki2xdoc.xsl
Log:
Fix bug that caused http links to have a .html appended
Revision Changes Path
1.5 +1 -1
cocoon-2.1/src/blocks/chaperon/samples/stylesheets/wiki2xdoc.xsl
Index: wiki2xdoc.xsl
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/chaperon/samples/stylesheets/wiki2xdoc.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- wiki2xdoc.xsl 28 Mar 2003 10:52:27 -0000 1.4
+++ wiki2xdoc.xsl 27 Apr 2003 14:07:08 -0000 1.5
@@ -110,7 +110,7 @@
<xsl:value-of select="$text"/>
</link>
</xsl:when>
- <xsl:when test="starts-with(@href,'http')">
+ <xsl:when test="starts-with($href,'http')">
<link href="{$href}">
<xsl:value-of select="$text"/>
</link>