lib/isodoc/un/un.recommendation.xsl in metanorma-un-0.7.1 vs lib/isodoc/un/un.recommendation.xsl in metanorma-un-0.7.2

- old
+ new

@@ -6202,15 +6202,18 @@ </xsl:choose> </xsl:template><xsl:template name="setTextAlignment"> <xsl:param name="default">left</xsl:param> <xsl:attribute name="text-align"> <xsl:choose> - <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when> + <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when> <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when> <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when> <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise> </xsl:choose> </xsl:attribute> + <xsl:if test="@align = 'indent'"> + <xsl:attribute name="margin-left">7mm</xsl:attribute> + </xsl:if> </xsl:template><xsl:template name="number-to-words"> <xsl:param name="number"/> <xsl:param name="first"/> <xsl:if test="$number != ''"> <xsl:variable name="words"> \ No newline at end of file