]> granicus.if.org Git - docbook-dsssl/commitdiff
Normalize space in Refsect/title output.
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 15 Aug 2006 05:22:58 +0000 (05:22 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 15 Aug 2006 05:22:58 +0000 (05:22 +0000)
xsl/manpages/refentry.xsl

index 5811c350fa8d02a9d510c86509bb0510ccdff8d3..3634e79a5b2f3ccc6ac3b3a87f3720b8b2ff99b8 100644 (file)
   </xsl:template>
 
   <xsl:template match="refsect1|refentry/refsection">
+    <xsl:variable name="title">
+      <xsl:apply-templates select="." mode="title.markup"/>
+    </xsl:variable>
     <xsl:call-template name="mark.subheading"/>
     <xsl:text>.SH "</xsl:text>
-    <xsl:apply-templates select="." mode="title.markup"/>
+    <xsl:value-of select="normalize-space($title)"/>
     <xsl:text>"&#10;</xsl:text>
     <xsl:call-template name="mark.subheading"/>
     <xsl:apply-templates/>