]> granicus.if.org Git - docbook-dsssl/commitdiff
Patch from Tim Waugh
authorNorman Walsh <ndw@nwalsh.com>
Fri, 9 May 2003 18:50:27 +0000 (18:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 9 May 2003 18:50:27 +0000 (18:50 +0000)
xsl/manpages/synop.xsl

index bc7ec3dcec5cb8c8d2a7fd94fcd863e360dc887c..26af0a059c8383f24ce69e59f668326df5dcefc6 100644 (file)
   <!-- child elements that require different markup (such as       -->
   <!-- <replaceable>).                                             -->
   <xsl:text>\fB</xsl:text>
-  <xsl:apply-templates/>
+  <xsl:variable name="arg">
+    <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:call-template name="replace-string">
+    <xsl:with-param name="content" select="normalize-space($arg)"/>
+    <xsl:with-param name="replace" select="' '"/>
+    <xsl:with-param name="with" select="'\ '"/>
+  </xsl:call-template>
   <xsl:text>\fR</xsl:text>
 </xsl:template>