metanorma-generic 2.7.1 → 2.7.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: bd710f710d4ac3b76fed5d6f647c2fec15372b84f2d86e01380a310b5d772db5
4
- data.tar.gz: bf48530b643adc2078b880f6913df915bc8c6696d727e792baac2014f7605bb7
3
+ metadata.gz: e5aaf13e062eaa9bbeb558f84841502576373ed5ca16b0de408ffb03e4188fd1
4
+ data.tar.gz: 426eb64a30385e162c09182980b28b66208aa5f85f2e056c03ffe17ff6d36f83
5
5
  SHA512:
6
- metadata.gz: 8d45aca2e37d6987437b9cb12f287740d05a5c209c3f01f249b3ffa266995303cf62db2e391d10904344271da4058fb8b21ba6dcb228d600a88bb7dc134aeed6
7
- data.tar.gz: c4f75e08a3ffe7f68dde7076fa94cb7209f1345a41fe423750e6110aebf5efd7676913998576dd594a72008157e2545d8e25c847ca19ba873330173f9edb878f
6
+ metadata.gz: f3ec27cd71d85d72b5ce074b5a6bb2d60ebb1a18b125f0b9801f0ebcf331b80e2c309ef3dc383883484854b61448c9c4167c8be72f69b9e1b2c599aca148fecd
7
+ data.tar.gz: 29db4667506fbfe0c578b951cb314ae202c4a3a92e9d085bf17ca2d7bf57713da907649a63b4d8e6c9602efd520efb0f97ad3ac3696f501e58f2daee585d3a0b
@@ -13,8 +13,7 @@ module IsoDoc
13
13
  docxml.xpath("//p[@class = 'Terms']").each do |d|
14
14
  h2 = d.at("./preceding-sibling::*[@class = 'TermNum'][1]")
15
15
  d["id"] = h2["id"]
16
- d.children.first.previous =
17
- "<strong>#{to_xml(h2.remove.children)}</strong>&#xa0;"
16
+ d.add_first_child "<strong>#{to_xml(h2.remove.children)}</strong>&#xa0;"
18
17
  end
19
18
  docxml
20
19
  end