]> granicus.if.org Git - docbook-dsssl/commitdiff
fixed bug #1449319 Wrong levels for bridgeheads in XHTML (and HTML).
authorBob Stayton <bobs@sagehill.net>
Sun, 30 Apr 2006 09:02:34 +0000 (09:02 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 30 Apr 2006 09:02:34 +0000 (09:02 +0000)
xsl/html/sections.xsl

index 1f4245ba2460486c188acd23e97772632c24aed4..1b3b7a1b6cdc70d0ff0623b3aa90b49d8fef86a9 100644 (file)
   <!-- HTML H level is one higher than section level -->
   <xsl:variable name="hlevel">
     <xsl:choose>
-      <xsl:when test="@renderas = 'sect1'">1</xsl:when>
-      <xsl:when test="@renderas = 'sect2'">2</xsl:when>
-      <xsl:when test="@renderas = 'sect3'">3</xsl:when>
-      <xsl:when test="@renderas = 'sect4'">4</xsl:when>
-      <xsl:when test="@renderas = 'sect5'">5</xsl:when>
+      <xsl:when test="@renderas = 'sect1'">2</xsl:when>
+      <xsl:when test="@renderas = 'sect2'">3</xsl:when>
+      <xsl:when test="@renderas = 'sect3'">4</xsl:when>
+      <xsl:when test="@renderas = 'sect4'">5</xsl:when>
+      <xsl:when test="@renderas = 'sect5'">6</xsl:when>
       <xsl:otherwise>
         <xsl:value-of select="$clevel + 1"/>
       </xsl:otherwise>