spurious .sp in manpages
This cherry-picks 7ef04350 that has been applied to the 'master' to fix ".sp" in generated manpages. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Dec 13, 2006 at 00:58 UTC
ec722203ee43beed8e4feac84af4307eb68f1ba3
1 file changed
+14
Documentation/callouts.xsl
+14
@@ -13,4 +13,18 @@
13
<xsl:apply-templates/>
14
<xsl:text>.br </xsl:text>
15
</xsl:template>
16
+
17
+<!-- sorry, this is not about callouts, but attempts to work around
18
+ spurious .sp at the tail of the line docbook stylesheets seem to add -->
19
+<xsl:template match="simpara">
20
+ <xsl:variable name="content">
21
+ <xsl:apply-templates/>
22
+ </xsl:variable>
23
+ <xsl:value-of select="normalize-space($content)"/>
24
+ <xsl:if test="not(ancestor::authorblurb) and
25
+ not(ancestor::personblurb)">
26
+ <xsl:text> </xsl:text>
27
+ </xsl:if>
28
+</xsl:template>
29
+
30
</xsl:stylesheet>