metanorma-itu 0.2.10 → 1.0.0

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: 3c31742aa742d0cf1ad895c411316b002203f419739c93536c296b65b175d123
4
- data.tar.gz: c9c6a15fa22045c804e5ffe46809a9fa7514b30e97eb7d1dfb0e57e01eb74c3a
3
+ metadata.gz: a01b41f5c9f8d50fb914d13b31886549d419b83e8d034c0ca4e5d9e994761432
4
+ data.tar.gz: e800c96be0ffd2c15c1843a2f40a43b794db520d7ce4f49eb00bab5ad83f3598
5
5
  SHA512:
6
- metadata.gz: 13e236e23bd23daf650570c78c3dd3e34205e6b42b12b0c3ddaa86d44cc0bcac8a76391e6d0a6076efca9ea3bc0ea80c0bbb1d368d44f5956975ba55026b896f
7
- data.tar.gz: e78bdabded1d26a880f10c211205215bd27a5e97aa967074e1d992bb4c97905eef59766948afecdab038f10f5d2f7737177ff2f9dc2c08db12648010587f0512
6
+ metadata.gz: e3c84c117a175f638dc17acd752d9fa6009e0d211b7b2c36490c53f4d6325515ec901790266ad3f3222d20a0f47a9c2cf899b0d90fa9c395f3e5c31b546d3d91
7
+ data.tar.gz: 8b72c08d2ff1bd1933c1bb0227d99768b202f2671d217b556e39de208f67d112f09c1ebba12d4f90699ecc3be02c04e384aae470687c235b24a1b8a711e66b33
@@ -34,7 +34,7 @@
34
34
  </data>
35
35
  </define>
36
36
  <start>
37
- <ref name="relaton_collection"/>
37
+ <ref name="bibitem"/>
38
38
  </start>
39
39
  <define name="status">
40
40
  <element name="status">
@@ -17,8 +17,9 @@ module Asciidoctor
17
17
  return super if @smartquotes
18
18
  xmldoc.traverse do |n|
19
19
  next unless n.text?
20
- n.replace(n.text.gsub(/\u2019|\u2018|\u201a|\u201b/, "'").
21
- gsub(/\u201c|\u201d|\u201e|\u201f/, '"'))
20
+ n.replace(HTMLEntities.new.encode(
21
+ n.text.gsub(/\u2019|\u2018|\u201a|\u201b/, "'").
22
+ gsub(/\u201c|\u201d|\u201e|\u201f/, '"'), :basic))
22
23
  end
23
24
  xmldoc
24
25
  end
@@ -45,7 +45,7 @@
45
45
  </div>
46
46
 
47
47
  <div class="coverpage-title">
48
- <span class="doc-series">Series {{ series }}</span>
48
+ <span class="doc-series">{% if series %}Series {{ series }}{% endif %}</span>
49
49
 
50
50
  <span class="doc-subSeries">
51
51
  {{ series1 }} {% if series2 %}&mdash; {{ series2 }}{% endif %}
@@ -169,7 +169,7 @@
169
169
  <p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
170
170
  style='mso-bookmark:_Hlk526346232'><a name="dsece"><span lang="EN-US"
171
171
  style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial",sans-serif;
172
- mso-ansi-language:EN-US'>SERIES {{ series | upcase }}<o:p></o:p></span></a></span></p>
172
+ mso-ansi-language:EN-US'>{% if series %}SERIES {{ series | upcase }}{% endif %}<o:p></o:p></span></a></span></p>
173
173
  <p class="MsoNormal" align="left" style='text-align:left;tab-stops:39.7pt 59.55pt 79.4pt 99.25pt right 17.0cm'><span
174
174
  style='mso-bookmark:_Hlk526346232'><span style='mso-bookmark:dsece'><span
175
175
  lang="EN-US" style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "0.2.10"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2019-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities