Correction to handling line elements
authorJonathan Blake <jonathan.blake@projectaon.org>
Fri, 2 Feb 2007 20:04:28 +0000 (20:04 +0000)
committerJonathan Blake <jonathan.blake@projectaon.org>
Fri, 2 Feb 2007 20:04:28 +0000 (20:04 +0000)
git-svn-id: https://projectaon.org/data/trunk@208 f6f3e2d7-ff33-0410-aaf5-b4bee2cdac11

xml/xhtml-mongoose.xsl
xml/xhtml.xsl

index b10c54b..a08600e 100644 (file)
@@ -9,6 +9,9 @@
 $Id$
 
 $Log$
+Revision 1.5  2007/02/02 20:04:28  jonathan.blake
+Correction to handling line elements
+
 Revision 1.4  2006/12/20 00:15:04  jonathan.blake
 Updated to handle the new capabilities in version 0.12.1 of the Gamebook DTD.
 
@@ -1060,7 +1063,8 @@ Todo:
 </xsl:template>
 
 <xsl:template match="line">
- <xsl:apply-templates /><br />
+ <xsl:apply-templates />
+ <xsl:if test="position( ) != last( )"><br /></xsl:if>
 </xsl:template>
 
 <xsl:template match="br">
index 276dd7f..c06c289 100644 (file)
@@ -9,6 +9,9 @@
 $Id$
 
 $Log$
+Revision 1.15  2007/02/02 20:04:28  jonathan.blake
+Correction to handling line elements
+
 Revision 1.14  2006/12/20 00:15:21  jonathan.blake
 Updated to handle the new capabilities in version 0.12.1 of the Gamebook DTD.
 
@@ -978,7 +981,8 @@ Todo:
 </xsl:template>
 
 <xsl:template match="line">
- <xsl:apply-templates /><br />
+ <xsl:apply-templates />
+ <xsl:if test="position( ) != last( )"><br /></xsl:if>
 </xsl:template>
 
 <xsl:template match="br">