]> granicus.if.org Git - docbook-dsssl/commitdiff
Tim Waugh sent:
authorMartijn van Beers <lotr@users.sourceforge.net>
Sun, 16 Jun 2002 17:53:21 +0000 (17:53 +0000)
committerMartijn van Beers <lotr@users.sourceforge.net>
Sun, 16 Jun 2002 17:53:21 +0000 (17:53 +0000)
  This patch normalizes space in each refname before displaying it in
  the name section.

contrib/xsl/db2man/db2man.xsl

index 0d95a21180f89e7d2816a4aefbb0e353abfe0098..21379dc7e23b6701d1b7f0e89f86cd870dd3b446 100644 (file)
     <xsl:if test="position() > 1">
       <xsl:text>, </xsl:text>
     </xsl:if>
-    <xsl:apply-templates select="."/>
+    <xsl:apply-templates select="normalize-space(.)"/>
   </xsl:for-each>
   <xsl:text>.&#10;</xsl:text>
   <xsl:if test=".//editor">