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 +4 -4
- data/lib/isodoc/generic/base_convert.rb +1 -2
- data/lib/metanorma/generic/basicdoc.rng +861 -481
- data/lib/metanorma/generic/biblio-standoc.rng +100 -20
- data/lib/metanorma/generic/biblio.rng +897 -333
- data/lib/metanorma/generic/isodoc.rng +1031 -915
- data/lib/metanorma/generic/reqt.rng +94 -75
- data/lib/metanorma/generic/version.rb +1 -1
- data/metanorma-generic.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5aaf13e062eaa9bbeb558f84841502576373ed5ca16b0de408ffb03e4188fd1
|
4
|
+
data.tar.gz: 426eb64a30385e162c09182980b28b66208aa5f85f2e056c03ffe17ff6d36f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
17
|
-
"<strong>#{to_xml(h2.remove.children)}</strong> "
|
16
|
+
d.add_first_child "<strong>#{to_xml(h2.remove.children)}</strong> "
|
18
17
|
end
|
19
18
|
docxml
|
20
19
|
end
|