diff options
Diffstat (limited to 'stylesheets/toc2html.xsl')
-rw-r--r-- | stylesheets/toc2html.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stylesheets/toc2html.xsl b/stylesheets/toc2html.xsl index 5d271516..6c1f5038 100644 --- a/stylesheets/toc2html.xsl +++ b/stylesheets/toc2html.xsl @@ -120,7 +120,7 @@ <ul> <xsl:for-each select="toc[../@id = 'index' or .//doc]"> <xsl:sort select="number(../@id = 'index') * position()"/> - <xsl:sort select="title"/> + <xsl:sort select="normalize-space(title)"/> <li class="toc"> <a href="x-yelp-toc:{@id}"> <xsl:apply-templates select="title[1]/node()"/> @@ -134,7 +134,7 @@ <div class="docs"> <dl> <xsl:for-each select="doc"> - <xsl:sort select="title"/> + <xsl:sort select="normalize-space(title)"/> <dt class="doc"> <a href="{@href}" title="{@href}"> <xsl:if test="tooltip"> |