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

Merge branch '12-toc-has-more-content-attached-in-some-cases-was-14468' into 'develop'

Resolve "TOC has more content attached in some cases [was #14468]"

Closes #12

See merge request !2
parents 843aff46 6c182d66
No related branches found
No related tags found
1 merge request!2Resolve "TOC has more content attached in some cases [was #14468]"
Pipeline #305335 passed
...@@ -54,9 +54,6 @@ cache: ...@@ -54,9 +54,6 @@ cache:
# Get the project version from main POM file and store it to artifact. # Get the project version from main POM file and store it to artifact.
get_version: get_version:
image: maven:3.8.3-jdk-8 image: maven:3.8.3-jdk-8
only:
- develop
- main
stage: build_version stage: build_version
script: script:
- 'PVERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -q -DforceStdout)' - 'PVERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -q -DforceStdout)'
......
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
</a> </a>
<xsl:if test="$currentDepth &lt; $tocDepth and (descendant::div[head] or descendant::TEI)"> <xsl:if test="$currentDepth &lt; $tocDepth and (descendant::div[head] or descendant::TEI)">
<ul> <ul>
<xsl:apply-templates> <xsl:apply-templates mode="#current">
<xsl:with-param name="currentDepth" tunnel="yes" select="$currentDepth + 1"/> <xsl:with-param name="currentDepth" tunnel="yes" select="$currentDepth + 1"/>
</xsl:apply-templates> </xsl:apply-templates>
</ul> </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