aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/99_result/overview.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl
index 6771d1f..a21aa8a 100644
--- a/source/99_result/overview.xsl
+++ b/source/99_result/overview.xsl
@@ -193,6 +193,16 @@
</html>
</xsl:template>
+<xsl:template match="a[@class = 'footnote-ref']" mode="xhtml">
+ <xsl:element name="{local-name()}" namespace="http://www.w3.org/1999/xhtml">
+ <xsl:copy-of select="@*[name()='id' or name()='class']"/>
+ <xsl:attribute name="href">
+ <xsl:value-of select="concat(./ancestor::entry/link, '/', ./@href)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="node()" mode="xhtml"/>
+ </xsl:element>
+</xsl:template>
+
<xsl:template match="text()|@*"/>
</xsl:stylesheet>