]> granicus.if.org Git - docbook-dsssl/commitdiff
Joe Orton: patch to get rid of extra whitespace in author names
authorNorman Walsh <ndw@nwalsh.com>
Wed, 18 Sep 2002 14:06:42 +0000 (14:06 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 18 Sep 2002 14:06:42 +0000 (14:06 +0000)
xsl/manpages/docbook.xsl

index b7cf77af91ef53fe3923672211ab2aab7807f023..a2fe36fb30345beae7c6c7c2be3fbf7f89424407 100644 (file)
     <xsl:if test="position() > 1">
       <xsl:text>, </xsl:text>
     </xsl:if>
-    <xsl:apply-templates select="."/>
+    <xsl:variable name="author">
+      <xsl:apply-templates select="."/>
+    </xsl:variable>
+    <xsl:value-of select="normalize-space($author)"/>    
   </xsl:for-each>
   <xsl:text>.&#10;</xsl:text>
   <xsl:if test=".//editor">