metanorma-iec 2.4.11 → 2.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d035fb01f99b16382c8f525c7f37826457a8d9b0d522100d3fe4ca78fcde8ba
4
- data.tar.gz: 920902c575d57abb17cddf3d9060965e49f01cb8e6287f390ef7e39cd775c1a0
3
+ metadata.gz: fea24aa64896b40fd0014ff6cac836db2f3b23ffb6b6c88311ad9d423118745a
4
+ data.tar.gz: 30dd9c36bcb8ddb34c966fe5a8e4ce067dcc52ef0440f973d66af23f8c123490
5
5
  SHA512:
6
- metadata.gz: 13bff08633f91d6a3a02e74f1e37f03211d4b2d89cc606b658da7211d12f54e328452d00f83b5eb6235a78ccc7bf065fddbcc53b38f25d5c7ea9eee74859e22e
7
- data.tar.gz: 4d94ec97ab713e3e74ed929491374225b3e473d40bcacfb22442942caa1e2ef954dcf9de4673f1e78e9fa8b3fa12cfa1f89284bd9fa73a3300cd0b37b98432e7
6
+ metadata.gz: 057cb330f644950cff7cd28d7bef0fe598f27c76131ca6e554a153347c1e4a795fc33e8a63e3a1aaecd45fbff6152ba9680b4f1e7e6439831fda734668f5efe0
7
+ data.tar.gz: b47996f562e5447eaff43381bbae7f709d924e7d191112a1f091c409754729f76bc98c9f95e5179acb9dd4be0d9a9edeb2009ef162709ce7261bb0d55c44db62
@@ -10064,8 +10064,11 @@
10064
10064
  </xsl:template>
10065
10065
 
10066
10066
  <xsl:template match="*[local-name() = 'strong']" mode="contents_item">
10067
+ <xsl:param name="element"/>
10067
10068
  <xsl:copy>
10068
- <xsl:apply-templates mode="contents_item"/>
10069
+ <xsl:apply-templates mode="contents_item">
10070
+ <xsl:with-param name="element" select="$element"/>
10071
+ </xsl:apply-templates>
10069
10072
  </xsl:copy>
10070
10073
  </xsl:template>
10071
10074
 
@@ -10132,7 +10135,10 @@
10132
10135
 
10133
10136
  <!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
10134
10137
  <xsl:template match="*[local-name() = 'span']" mode="contents_item">
10135
- <xsl:apply-templates mode="contents_item"/>
10138
+ <xsl:param name="element"/>
10139
+ <xsl:apply-templates mode="contents_item">
10140
+ <xsl:with-param name="element" select="$element"/>
10141
+ </xsl:apply-templates>
10136
10142
  </xsl:template>
10137
10143
 
10138
10144
  <!-- =============== -->
@@ -117,7 +117,7 @@ module Metanorma
117
117
  xml.tc_sc_officers_note do |c|
118
118
  wrap_in_para(note, c)
119
119
  end
120
- end.join("\n")
120
+ end.join("")
121
121
  else
122
122
  super
123
123
  end
@@ -17,7 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
- <!-- VERSION v1.3.2 -->
20
+ <!-- VERSION v1.3.3 -->
21
21
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
22
22
  <include href="reqt.rng"/>
23
23
  <include href="basicdoc.rng">
@@ -331,9 +331,9 @@
331
331
  <zeroOrMore>
332
332
  <ref name="table-note"/>
333
333
  </zeroOrMore>
334
- <optional>
334
+ <zeroOrMore>
335
335
  <ref name="source"/>
336
- </optional>
336
+ </zeroOrMore>
337
337
  </define>
338
338
  <define name="FigureAttr">
339
339
  <optional>
@@ -380,9 +380,9 @@
380
380
  <zeroOrMore>
381
381
  <ref name="note"/>
382
382
  </zeroOrMore>
383
- <optional>
383
+ <zeroOrMore>
384
384
  <ref name="source"/>
385
- </optional>
385
+ </zeroOrMore>
386
386
  </define>
387
387
  <define name="source">
388
388
  <element name="source">
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.4.11".freeze
3
+ VERSION = "2.4.12".freeze
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.11
4
+ version: 2.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-08 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso