summaryrefslogtreecommitdiff
path: root/stylesheets/toc2html.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2005-02-01 21:45:06 +0000
committerShaun McCance <shaunm@src.gnome.org>2005-02-01 21:45:06 +0000
commitd729be5a059c41b3aa953af4f2c9c88131aa247d (patch)
treefd3dc53b1b9561ccff607d351c1da5d2b14715fa /stylesheets/toc2html.xsl
parentc362ce5f264f9a19d564cce31c356f0d97a8c337 (diff)
downloadyelp-d729be5a059c41b3aa953af4f2c9c88131aa247d.tar.gz
- Adding nice large yelpish icon from Human
* data/icons/Makefile.am: * src/yelp-toc-pager.c: - Adding nice large yelpish icon from Human * src/yelp-settings.c: * src/yelp-settings.h: * stylesheets/db2html.xsl.in: - A nice yellow color for admonitions * stylesheets/toc2html.xsl: - Fixed document sorting problem
Diffstat (limited to 'stylesheets/toc2html.xsl')
-rw-r--r--stylesheets/toc2html.xsl4
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">