# HG changeset patch
# User Holger Teutsch <[email protected]>
# Date 1298026761 -3600
# Node ID 1b3222748961d4acd501707c67d891b050a44c7f
# Parent d609972a16c0caa086f9e5a17ce55a21ee19ce1d
Doc: ra2refentry.xsl: last line of description did not get a <para> after last
patch
Remove "if" that got redundant after last patch. Improve readability of
generated
xml code
diff -r d609972a16c0 -r 1b3222748961 doc/ra2refentry.xsl
--- a/doc/ra2refentry.xsl Wed Feb 16 18:26:29 2011 +0100
+++ b/doc/ra2refentry.xsl Fri Feb 18 11:59:21 2011 +0100
@@ -137,13 +137,12 @@
<xsl:when test="contains($string, $lf)">
<xsl:variable name="first" select="substring-before($string, $lf)"
/>
- <!-- skip empty lines as <para> spacing generates one -->
-
- <xsl:if test="string-length($first) > 0">
- <para>
- <xsl:value-of select="$first"/>
- </para>
- </xsl:if>
+ <para>
+ <xsl:value-of select="'
'" />
+ <xsl:value-of select="$first"/>
+ <xsl:value-of select="'
'" />
+ </para>
+ <xsl:value-of select="'
'" />
<!-- recursively call an remaining string -->
<xsl:call-template name="break_into_para">
@@ -152,7 +151,9 @@
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$string"/>
+ <para>
+ <xsl:value-of select="$string"/>
+ </para>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -168,7 +169,6 @@
<xsl:call-template name="break_into_para">
<xsl:with-param name="string" select="." />
</xsl:call-template>
- <!-- xsl:apply-templates mode="description"/ -->
</xsl:template>
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/