forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject svn commit: rev 10379 - xml/forrest/trunk/src/core/context/skins/common/xslt/fo
Date Wed, 28 Apr 2004 22:14:57 GMT
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"/>

Mime
View raw message