]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix missing id attribute on footnote mark.
authorBob Stayton <bobs@sagehill.net>
Mon, 23 Apr 2012 09:43:31 +0000 (09:43 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 23 Apr 2012 09:43:31 +0000 (09:43 +0000)
xsl/html/footnote.xsl

index 1a4ee0062ffc4256149e2fe1e653ea75cf047b18..ae03feb703811e692df9d6e2ce7f3a30dcfddc19 100644 (file)
@@ -30,8 +30,12 @@ footnote text gets an id of #ftn.@id. They cross link to each other. -->
     <xsl:apply-templates select="." mode="class.attribute"/>
     <sup>
       <xsl:apply-templates select="." mode="class.attribute"/>
-      <xsl:call-template name="id.attribute"/>
-      <xsl:call-template name="anchor"/>
+      <xsl:call-template name="id.attribute">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
       <xsl:text>[</xsl:text>
       <xsl:apply-templates select="." mode="footnote.number"/>
       <xsl:text>]</xsl:text>