You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by br...@apache.org on 2004/04/29 00:14:57 UTC

svn commit: rev 10379 - xml/forrest/trunk/src/core/context/skins/common/xslt/fo

Author: brondsem
Date: Wed Apr 28 15:14:56 2004
New Revision: 10379

Modified:
   xml/forrest/trunk/src/core/context/skins/common/xslt/fo/pdfoutline.xsl
Log:
clean any trailing end-of-line chars on titles; they show up as ugly boxes

Modified: xml/forrest/trunk/src/core/context/skins/common/xslt/fo/pdfoutline.xsl
==============================================================================
--- xml/forrest/trunk/src/core/context/skins/common/xslt/fo/pdfoutline.xsl	(original)
+++ xml/forrest/trunk/src/core/context/skins/common/xslt/fo/pdfoutline.xsl	Wed Apr 28 15:14:56 2004
@@ -38,7 +38,7 @@
     <fox:label>
       <xsl:number format="1.1.1.1.1.1.1" count="section" level="multiple"/>
       <xsl:text> </xsl:text>
-      <xsl:value-of select="title"/>
+      <xsl:value-of select="normalize-space(title)"/>
 
     </fox:label>
     <xsl:apply-templates select="section" mode="outline"/>