Commit 0ebdf39a authored by Audrey Hamelers's avatar Audrey Hamelers
parent 733f71c6
Pipeline #12954 passed with stages
in 5 minutes and 36 seconds
......@@ -1341,25 +1341,10 @@
<xsl:value-of select="@colspan"/>
<!-- The author-callout-style-b family applies both background and foreground colour. -->
<xsl:variable name="class">
<xsl:if test="@align">
<xsl:value-of select="concat(' table-', @align)"/>
<xsl:if test="@style and starts-with(@style, 'author-callout-style-b')">
<xsl:value-of select="concat(' ', @style)"/>
<xsl:if test="$class != ''">
<xsl:attribute name="class">
<xsl:value-of select="substring-after($class, ' ')"/>
<xsl:if test="@style and not(starts-with(@style, 'author-callout-style-b'))">
<xsl:if test="@style | @align">
<xsl:attribute name="style">
<xsl:value-of select="concat(@align, ';')"/>
<xsl:value-of select="@style"/>
......@@ -2720,7 +2705,17 @@
<xsl:template match="list-item">
<xsl:when test="count(child::node()[not(normalize-space(.) = '')]) = 1 and child::node()[self::p]">
<xsl:attribute name="id">
<xsl:value-of select="child::p/@id"/>
<xsl:apply-templates select="child::p/child::node()"/>
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