metanorma-cc 1.8.1 → 1.8.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6773b2389fcbb144d384002256bd7ba303aab7baa25f20ac37b0d40af9ae451
4
- data.tar.gz: ad6d676e3086792134308b0e0abeb32f4a21b65141a923ddb8fe4303d8d822b8
3
+ metadata.gz: 0a70b63c39dbfa99e161dda2eba79052dabeb4efbfab474054145acf4ca2339b
4
+ data.tar.gz: 1f13bcf1324580e3bc5d13d81e44fbfc47df21a6069ab3c2c52fae274f782538
5
5
  SHA512:
6
- metadata.gz: 3f0bc68cc852e0ed53dc3a97009a8d4ebd73d0deadc1950bb34c77e2587d11c4840e1f56308c597ed821d2cae87c8b8a681c94902fc811c6dd62662c7f69e58b
7
- data.tar.gz: 8fc55cd529d92cdaf66d93f37979b618df59d3a1e2883480661660795d4f1676756dfee017efc2977c39693cfdd6ff7d44bf0a48748b038bcce7b0a7bf8a9606
6
+ metadata.gz: 9603323530cb1fc79dc14f0d878525e30422d67353e3ac3a551574dc3a346441d0ba9f94826650bfcf628b869abf3cfd9e95436d5daef296a8e31dedf04d282a
7
+ data.tar.gz: 687665318c2b8dce4384a54ca562d749a68413e6f035875d3c69dfd5f48d185ed5a4cf09a81dc168457368f7c5c87790cfc74fdff274a5d4376d20b6f32d0065
@@ -5925,12 +5925,15 @@
5925
5925
  <xsl:param name="default">left</xsl:param>
5926
5926
  <xsl:attribute name="text-align">
5927
5927
  <xsl:choose>
5928
- <xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
5928
+ <xsl:when test="@align and not(@align = 'indent')"><xsl:value-of select="@align"/></xsl:when>
5929
5929
  <xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
5930
5930
  <xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
5931
5931
  <xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
5932
5932
  </xsl:choose>
5933
5933
  </xsl:attribute>
5934
+ <xsl:if test="@align = 'indent'">
5935
+ <xsl:attribute name="margin-left">7mm</xsl:attribute>
5936
+ </xsl:if>
5934
5937
  </xsl:template><xsl:template name="number-to-words">
5935
5938
  <xsl:param name="number"/>
5936
5939
  <xsl:param name="first"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module CC
3
- VERSION = "1.8.1".freeze
3
+ VERSION = "1.8.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-cc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-04 00:00:00.000000000 Z
11
+ date: 2021-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic