]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug where prefer.index.titleabbrev ignored info/titleabbrev.
authorBob Stayton <bobs@sagehill.net>
Mon, 21 Jan 2013 17:18:44 +0000 (17:18 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 21 Jan 2013 17:18:44 +0000 (17:18 +0000)
xsl/html/autoidx.xsl

index 0d2bec826a9ec9cfc63220edd39bc61126224955..833fc0f98ce1409bc9c2182dcb443e16bd5e5768 100644 (file)
         <xsl:apply-templates select="." mode="class.attribute"/>
         <xsl:variable name="title">
           <xsl:choose>
-            <xsl:when test="&section;/titleabbrev and $index.prefer.titleabbrev != 0">
+            <xsl:when test="$index.prefer.titleabbrev != 0">
               <xsl:apply-templates select="&section;" mode="titleabbrev.markup"/>
             </xsl:when>
             <xsl:otherwise>