Commit 7a472947 authored by Audrey Hamelers's avatar Audrey Hamelers
parent 8e41d44c
Pipeline #13403 failed with stages
in 31 seconds
......@@ -122,7 +122,7 @@
ol, ul {
margin-left: 1em;
padding-left: 1em;
padding-left: 1.1em;
}
li {
......@@ -1717,7 +1717,8 @@
}
.list-label{
display: inline-block;
text-indent: -1.1em;
margin-left: -1.2em;
padding-right: .1em;
}
.super,
.fn-label,
......
......@@ -1315,12 +1315,12 @@
</xsl:if>
<xsl:if test="parent::list-item and preceding-sibling::*[1][self::label]">
<span class="list-label">
<xsl:value-of select="preceding-sibling::label"/>
<xsl:apply-templates select="preceding-sibling::*[1][self::label]/*"/>
</span>
</xsl:if>
<xsl:if test="not(parent::list-item) and preceding-sibling::*[1][self::label]">
<span class="p-label">
<xsl:value-of select="preceding-sibling::label"/>
<xsl:apply-templates select="preceding-sibling::*[1][self::label]/*"/>
<xsl:text>: </xsl:text>
</span>
</xsl:if>
......@@ -2955,7 +2955,7 @@
<xsl:template match="list-item">
<li>
<xsl:choose>
<xsl:when test="count(child::node()[not(normalize-space(.) = '')]) = 1 and child::node()[self::p]">
<xsl:when test="count(child::node()) = 1 and child::node()[self::p]">
<xsl:attribute name="id">
<xsl:value-of select="child::p/@id"/>
</xsl:attribute>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment