Correction to handling line elements
[project-aon.git] / xml / xhtml-mongoose.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">