aboutsummaryrefslogtreecommitdiff
path: root/source/99_result
diff options
context:
space:
mode:
Diffstat (limited to 'source/99_result')
-rw-r--r--source/99_result/start.xsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/99_result/start.xsl b/source/99_result/start.xsl
index a9d05c9..8db182c 100644
--- a/source/99_result/start.xsl
+++ b/source/99_result/start.xsl
@@ -83,4 +83,14 @@
</p>
</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('/article/', ./ancestor::entry/@handle, '/', ./@href)"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="node()" mode="xhtml"/>
+ </xsl:element>
+</xsl:template>
+
</xsl:stylesheet>