metanorma-un 0.9.4 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/un/base_convert.rb +4 -3
- data/lib/isodoc/un/un.plenary-attachment.xsl +3366 -2679
- data/lib/isodoc/un/un.plenary.xsl +3366 -2679
- data/lib/isodoc/un/un.recommendation.xsl +3389 -2716
- data/lib/metanorma/un/converter.rb +3 -0
- data/lib/metanorma/un/isodoc.rng +16 -1
- data/lib/metanorma/un/reqt.rng +1 -1
- data/lib/metanorma/un/version.rb +1 -1
- data/metanorma-unece.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: 29292d69fa96f3e607e00ff39abf3787ce5f27d5bdb65141b8030acbc01f7b9e
|
4
|
+
data.tar.gz: 8cea34c39e5970e4f03f8cae444170a7ae249ad01fffae7a798648524df70e99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93209ba3a682e76208c79a94f93f7ec6f8e8076013ed81f60a22dc35110ed9c1cc62a6527f8b728ef139536b161df6aed667847eff02a045949d066239f7c96
|
7
|
+
data.tar.gz: a7b55069b5727c72ac572ea4a17606b816e5f8fb5d8f6dd070c75ac2abf92c2e743d2e7f8a59617c28edd3d5951b971228b1f0d9669cf9f4293e88ed05ecb9e9
|
@@ -17,17 +17,18 @@ module IsoDoc
|
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
|
-
def inline_header_title(out,
|
20
|
+
def inline_header_title(out, _node, title)
|
21
21
|
out.span **{ class: "zzMoveToFollowing" } do |s|
|
22
22
|
title&.children&.each { |c2| parse(c2, s) }
|
23
|
-
clausedelimspace(out) if /\S/.match(title&.text)
|
23
|
+
clausedelimspace(_node, out) if /\S/.match?(title&.text)
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
27
|
def is_plenary?(docxml)
|
28
28
|
doctype = docxml&.at(ns("//bibdata/ext/doctype"))&.text
|
29
|
-
return true if
|
29
|
+
return true if %w(plenary agenda budgetary).include?(doctype)
|
30
30
|
return true if docxml&.at(ns("//bibdata/ext/session/*"))
|
31
|
+
|
31
32
|
false
|
32
33
|
end
|
33
34
|
end
|