]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow anchors in section titles
authorNorman Walsh <ndw@nwalsh.com>
Thu, 2 Aug 2001 10:51:42 +0000 (10:51 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 2 Aug 2001 10:51:42 +0000 (10:51 +0000)
xsl/html/sections.xsl

index 160d49a959a56c8908b496b65f3d889603c8d837..b1429b53c67f25275f83273495e4875553c92e8e 100644 (file)
@@ -51,7 +51,9 @@
     <xsl:with-param name="section" select=".."/>
     <xsl:with-param name="level" select="$level"/>
     <xsl:with-param name="title">
-      <xsl:apply-templates select="$section" mode="object.title.markup"/>
+      <xsl:apply-templates select="$section" mode="object.title.markup">
+        <xsl:with-param name="allow-anchors" select="1"/>
+      </xsl:apply-templates>
     </xsl:with-param>
   </xsl:call-template>
 </xsl:template>