diff --git a/share/sgml/libcommon.xsl b/share/sgml/libcommon.xsl index 5d5693ca71..78a1d78182 100644 --- a/share/sgml/libcommon.xsl +++ b/share/sgml/libcommon.xsl @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN" "http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd"> -<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.2 2006/08/20 11:52:10 hrs Exp $ --> +<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.3 2007/01/28 18:43:07 pav Exp $ --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" @@ -408,7 +408,10 @@ </xsl:call-template></b> <!-- put localized text --> <xsl:text> </xsl:text> - <xsl:copy-of select="p" /> + <xsl:for-each select="p"> + <xsl:if test="position() > 1"><br /><br /></xsl:if> + <xsl:copy-of select="child::node()" /> + </xsl:for-each> </p> </li> </xsl:for-each> @@ -441,7 +444,10 @@ </xsl:call-template></b> <!-- put English text --> <xsl:text> </xsl:text> - <xsl:copy-of select="p" /> + <xsl:for-each select="p"> + <xsl:if test="position() > 1"><br /><br /></xsl:if> + <xsl:copy-of select="child::node()" /> + </xsl:for-each> </p> </li> </xsl:for-each> diff --git a/share/sgml/templates.oldnewsflash.xsl b/share/sgml/templates.oldnewsflash.xsl index 364b248c2c..614b506837 100644 --- a/share/sgml/templates.oldnewsflash.xsl +++ b/share/sgml/templates.oldnewsflash.xsl @@ -6,7 +6,7 @@ <!ENTITY % navinclude.about "INCLUDE"> ]> -<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.1 2006/08/19 21:20:54 hrs Exp $ --> +<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.2 2006/08/21 18:27:43 hrs Exp $ --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:cvs="http://www.FreeBSD.org/XML/CVS"> @@ -99,7 +99,10 @@ </xsl:call-template> <xsl:text>, </xsl:text> <xsl:value-of select="ancestor::year/name"/>:</b><xsl:text> </xsl:text> - <xsl:copy-of select="p"/> + <xsl:for-each select="p"> + <xsl:if test="position() > 1"><br /><br /></xsl:if> + <xsl:copy-of select="child::node()" /> + </xsl:for-each> </p> </li>