diff --git a/src/main/webapp/stylesheets/tohtml.xsl b/src/main/webapp/stylesheets/tohtml.xsl index 469f4d2e144869b98f5b4a3c30f9a976a1599195..ed31ff23ff0ca38cc03519542d00884e569b7dae 100644 --- a/src/main/webapp/stylesheets/tohtml.xsl +++ b/src/main/webapp/stylesheets/tohtml.xsl @@ -107,7 +107,7 @@ </a> <xsl:if test="$currentDepth < $tocDepth and (descendant::div[head] or descendant::TEI)"> <ul> - <xsl:apply-templates> + <xsl:apply-templates mode="#current"> <xsl:with-param name="currentDepth" tunnel="yes" select="$currentDepth + 1"/> </xsl:apply-templates> </ul>