metanorma-generic 2.7.0 → 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: b3436616b2990529b36337c88267a1bb486c784760ee9e5dd44e8261d16d3a91
4
- data.tar.gz: d203b11d9d077960844d90a4245c19fcfdd533c917bc6fbda7d2600fa3c0a8eb
3
+ metadata.gz: e5aaf13e062eaa9bbeb558f84841502576373ed5ca16b0de408ffb03e4188fd1
4
+ data.tar.gz: 426eb64a30385e162c09182980b28b66208aa5f85f2e056c03ffe17ff6d36f83
5
5
  SHA512:
6
- metadata.gz: 36d17d3720c65830aecaaec84e9cfda717044f1024112ed52cb2bea93ce65db0a31f3e55da1f7637bf2306b11bf0d69cc18b5e77818952aea9b6bdad1b1470e8
7
- data.tar.gz: 561e57900505474883823a8a6c7d7fb41b5fa6c49ae04ec284ba14d35dad45f520fa36881cc30dce6bc1298293c85f3ec1f3b2a2c20b3dc659d66308e739598f
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