[snowy] Fix from Mike Gorse to make the xsl properly break on newlines.
- From: Brad Taylor <btaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Fix from Mike Gorse to make the xsl properly break on newlines.
- Date: Wed, 13 May 2009 15:00:06 -0400 (EDT)
commit 152ec57699e9a03a8e35e6d739800e71619c8b51
Author: Brad Taylor <brad getcoded net>
Date: Wed May 13 14:59:18 2009 -0400
Fix from Mike Gorse to make the xsl properly break on newlines.
---
data/note2xhtml.xsl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/data/note2xhtml.xsl b/data/note2xhtml.xsl
index d690afc..f107127 100644
--- a/data/note2xhtml.xsl
+++ b/data/note2xhtml.xsl
@@ -26,11 +26,11 @@
<xsl:template name="softbreak">
<xsl:param name="text" select="."/>
<xsl:choose>
- <xsl:when test="contains($text, '
')">
- <xsl:value-of select="substring-before($text, '
')"/>
+ <xsl:when test="contains($text, '
')">
+ <xsl:value-of select="substring-before($text, '
')"/>
<br/>
<xsl:call-template name="softbreak">
- <xsl:with-param name="text" select="substring-after($text, '
')"/>
+ <xsl:with-param name="text" select="substring-after($text, '
')"/>
</xsl:call-template>
</xsl:when>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]