Author: bdube
Date: Sun Dec 6 23:13:26 2009
New Revision: 887796
URL: http://svn.apache.org/viewvc?rev=887796&view=rev
Log:
The extra whitespace causes problems in link generation, especially for the
generated PDF
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl?rev=887796&r1=887795&r2=887796&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl
Sun Dec 6 23:13:26 2009
@@ -37,8 +37,7 @@
<xsl:template match="section" mode="toc">
<xsl:param name="level" />
<tocitem level="{$level}">
- <xsl:attribute name="href">#
- <xsl:call-template name="generate-id" /></xsl:attribute>
+ <xsl:attribute name="href">#<xsl:call-template name="generate-id"
/></xsl:attribute>
<xsl:attribute name="title">
<xsl:value-of select="title" />
</xsl:attribute>