Skip to content

Commit

Permalink
making the heading level for footnotes section dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
peterstadler committed Jan 16, 2017
1 parent 4827679 commit 0119945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsl/var.xsl
Expand Up @@ -289,7 +289,7 @@
<xsl:template name="createEndnotesFromNotes">
<xsl:element name="div">
<xsl:attribute name="id" select="'endNotes'"/>
<xsl:element name="h2">
<xsl:element name="{concat('h', count(ancestor::tei:div) + 2)}">
<xsl:value-of select="wega:getLanguageString('endNotes', $lang)"/>
</xsl:element>
<xsl:element name="ol">
Expand Down

0 comments on commit 0119945

Please sign in to comment.