]> granicus.if.org Git - docbook-dsssl/commitdiff
Added normalize-space() for ulink content. Closes bug #2793877.
authorMauritz Jeanson <mj@johanneberg.com>
Sat, 18 Jul 2009 17:48:06 +0000 (17:48 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Sat, 18 Jul 2009 17:48:06 +0000 (17:48 +0000)
xsl/manpages/endnotes.xsl

index 6f1c7536666f52e5e2bd595b08b7b633a2238eb9..857c2b0f18f9f4d6e48dc92e077f61be2b6c2390 100644 (file)
 
   <xsl:if test="self::ulink or self::*[@xlink:href]">
     <xsl:variable name="link.wrapper">
-      <xsl:value-of select="$notesource.contents"/>
+      <xsl:value-of select="normalize-space($notesource.contents)"/>
     </xsl:variable>
     <xsl:text>\m[blue]</xsl:text>
     <!-- * This is a hyperlink, so we need to determine if the user wants -->