diff options
Diffstat (limited to 'templates/reST.xsl')
-rw-r--r-- | templates/reST.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/reST.xsl b/templates/reST.xsl index 10c02f8..84fe006 100644 --- a/templates/reST.xsl +++ b/templates/reST.xsl @@ -215,13 +215,13 @@ <div class="footnote {@classes}" id="{@ids}"> <xsl:choose> <xsl:when test="count($backrefs) <= 1"> - <span class="label"><a class="fn-backref" href="{$backrefs}">[<xsl:value-of select="$label"/>]</a></span> + <span class="label"><a class="fn-backref" href="#{$backrefs}">[<xsl:value-of select="$label"/>]</a></span> </xsl:when> <xsl:otherwise> <span class="label">[<xsl:value-of select="$label"/>]</span> <em><xsl:text> (</xsl:text> <xsl:for-each select="$backrefs"> - <a class="fn-backref" href="{.}" title="return to content"> + <a class="fn-backref" href="#{.}" title="return to content"> <xsl:value-of select="position()" /> </a> <xsl:if test="following-sibling::token">, </xsl:if> |