Skip to content
Snippets Groups Projects
Commit 8f18905d authored by Simon Sendler's avatar Simon Sendler :turtle:
Browse files

fix: don't leave toc mode in nested TOCs

parent 843aff46
No related branches found
No related tags found
1 merge request!2Resolve "TOC has more content attached in some cases [was #14468]"
Pipeline #305215 failed
......@@ -107,7 +107,7 @@
</a>
<xsl:if test="$currentDepth &lt; $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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment