You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2014/01/27 09:11:45 UTC
svn commit: r1561600 - /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Author: nd
Date: Mon Jan 27 08:11:45 2014
New Revision: 1561600
URL: http://svn.apache.org/r1561600
Log:
fix another source of invalid links: too much space.
Modified:
httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?rev=1561600&r1=1561599&r2=1561600&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Mon Jan 27 08:11:45 2014
@@ -726,7 +726,7 @@ if (typeof(prettyPrint) !== 'undefined')
</xsl:variable>
<xsl:choose>
- <xsl:when test="$in-modulesynopsis and @module = /modulesynopsis/name">
+ <xsl:when test="$in-modulesynopsis and normalize-space(@module) = /modulesynopsis/name">
<a href="#{$lowerdirective}">
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="."/>
@@ -734,7 +734,7 @@ if (typeof(prettyPrint) !== 'undefined')
</a>
</xsl:when>
<xsl:otherwise>
- <a href="{$path}/mod/{@module}.html#{$lowerdirective}">
+ <a href="{$path}/mod/{normalize-space(@module)}.html#{$lowerdirective}">
<xsl:if test="@type='section'"><</xsl:if>
<xsl:value-of select="."/>
<xsl:if test="@type='section'">></xsl:if>
@@ -765,7 +765,7 @@ if (typeof(prettyPrint) !== 'undefined')
<xsl:value-of select="."/>
</xsl:when>
<xsl:otherwise>
- <a href="{$path}/mod/{.}.html">
+ <a href="{$path}/mod/{normalize-space(.)}.html">
<xsl:value-of select="."/>
</a>
</xsl:otherwise>