Skip to content
Snippets Groups Projects
Commit 0c2f4d7c authored by Goik Martin's avatar Goik Martin
Browse files

Aligining exercise labels in short lists

parent 23d74cbd
No related branches found
No related tags found
No related merge requests found
......@@ -486,23 +486,16 @@
</xsl:variable>
<section id="{$primarySectionId}_followupExercise">
<xsl:choose>
<xsl:when test="1 = count($followupQandasets)">
<xsl:apply-templates select="$followupQandasets" mode="createTitleLink"/>
</xsl:when>
<xsl:otherwise>
<ol>
<xsl:for-each select="$followupQandasets">
<li>
<xsl:apply-templates select="." mode="createTitleLink"/>
</li>
</xsl:for-each>
</ol>
</xsl:otherwise>
</xsl:choose>
<ol>
<xsl:attribute name="start">
<xsl:value-of select="1 + count(preceding::d:qandaset)"/>
</xsl:attribute>
<xsl:for-each select="$followupQandasets">
<li>
<xsl:apply-templates select="." mode="createTitleLink"/>
</li>
</xsl:for-each>
</ol>
</section>
</xsl:if>
......
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