Skip to content

Commit

Permalink
xslt update based on metanorma/mn-native-pdf@9f09daa
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Apr 4, 2024
1 parent a84ee7d commit aa63630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/isodoc/csa/csa.standard.xsl
Expand Up @@ -6782,7 +6782,7 @@
</xsl:when>
<xsl:otherwise>
<fo:external-graphic src="{$src}" fox:alt-text="Image {@alt}" xsl:use-attribute-sets="image-graphic-style">
<xsl:if test="not(@mimetype = 'image/svg+xml') and ../*[local-name() = 'name'] and not(ancestor::*[local-name() = 'table'])">
<xsl:if test="not(@mimetype = 'image/svg+xml') and (../*[local-name() = 'name'] or parent::*[local-name() = 'figure'][@unnumbered = 'true']) and not(ancestor::*[local-name() = 'table'])">

<xsl:if test="@width != '' and @width != 'auto' and @width != 'text-width' and @width != 'full-page-width' and @width != 'narrow'">
<xsl:attribute name="width">
Expand Down

0 comments on commit aa63630

Please sign in to comment.