Skip to content

Commit

Permalink
Certificate: skip empty ul elements when translating to fo (43008)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6183400)
  • Loading branch information
schmitz-ilias authored and mjansenDatabay committed Nov 29, 2024
1 parent e320e8c commit d8a9981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ILIAS/Certificate/xml/xhtml2fo.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
<xsl:attribute name="space-after">1em</xsl:attribute>
</xsl:attribute-set>

<xsl:template match="ul">
<xsl:template match="ul[*]">
<fo:list-block xsl:use-attribute-sets="ul" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:apply-templates select="node()"/>
</fo:list-block>
Expand Down Expand Up @@ -746,7 +746,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<xsl:template name="getColor">
<xsl:param name="s"/>
<xsl:value-of select="$s" />
Expand Down

0 comments on commit d8a9981

Please sign in to comment.