]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug in PDF bookmarks for axf output by adding normalize-space.
authorBob Stayton <bobs@sagehill.net>
Fri, 8 Apr 2005 20:28:55 +0000 (20:28 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 8 Apr 2005 20:28:55 +0000 (20:28 +0000)
xsl/fo/component.xsl
xsl/fo/division.xsl
xsl/fo/refentry.xsl
xsl/fo/sections.xsl

index 3af7187cc8756156fd6c7720be468480906d3e00..b5a9b2721e466150990a0aae2635f73c4ca1ae80 100644 (file)
@@ -84,7 +84,7 @@
       </xsl:attribute>
       <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
       <xsl:attribute name="axf:outline-title">
-        <xsl:value-of select="$title"/>
+        <xsl:value-of select="normalize-space($title)"/>
       </xsl:attribute>
     </xsl:if>
 
       </xsl:attribute>
       <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
       <xsl:attribute name="axf:outline-title">
-        <xsl:value-of select="$titleabbrev"/>
+        <xsl:value-of select="normalize-space($titleabbrev)"/>
       </xsl:attribute>
     </xsl:if>
 
index db481a602dc59061dac277b7c8eb5db5070a5b30..d5b1012ce88c5952a06845fca7ca02f6af717105 100644 (file)
@@ -48,7 +48,7 @@
       </xsl:attribute>
       <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
       <xsl:attribute name="axf:outline-title">
-        <xsl:value-of select="$title"/>
+        <xsl:value-of select="normalize-space($title)"/>
       </xsl:attribute>
     </xsl:if>
     <xsl:copy-of select="$title"/>
index c84a3e6076c108841d661e995c9c84559f75b12f..401257f787deb31d8e9df09d19cb58ca2fe46a0a 100644 (file)
       </xsl:attribute>
       <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
       <xsl:attribute name="axf:outline-title">
-        <xsl:value-of select="$title"/>
+        <xsl:value-of select="normalize-space($title)"/>
       </xsl:attribute>
     </xsl:if>
 
index 4467fa0fcd2100648ae43add440163f2ab743689..f90329c15e8278358757342f5011e9d93be2d877 100644 (file)
       </xsl:attribute>
       <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
       <xsl:attribute name="axf:outline-title">
-        <xsl:value-of select="$title"/>
+        <xsl:value-of select="normalize-space($title)"/>
       </xsl:attribute>
     </xsl:if>