metanorma-ietf 2.1.2 → 2.1.3

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: e9d92d766e6d9479c0dc5a90ad2cfcdb1dd79cd6e548fd78e623df2ec6d8cf86
4
- data.tar.gz: 67f5bdc9e04cf52c9288496b4ae4239b9f48a23e5a96007728dc4be1515c01ee
3
+ metadata.gz: ea1c57c13cc70de322dae0d520d9643b939a5835975c49cfb64de8dbadad906b
4
+ data.tar.gz: 9c34b9675c03e4c35754fa1f3e2826d1f7837521e4d82e9e76c3f0876fbd7c40
5
5
  SHA512:
6
- metadata.gz: 1d9e9d63636308c52fa65e46eb1dc6748c6acb3135eb5da3d650ce57f1b123747488661f326d44437265704cdb6ddedf04bc3a4230ee4c1cb6fbe4861b83fb5f
7
- data.tar.gz: ee42bbb010c200541e0bbd95a89d308328b1a62762ca3bfffac36ce8b93e0c956473add3b65ce260a89b030c48e7fd951dba4e79570266709b58bb5d91f94474
6
+ metadata.gz: 8c38a69f9cdac8106505836f5f95e76c5d03600fba62d2ba3a90021292c794d36ece9e6658a581697cb06c29aa8ebdb083e99d94cbb0155f43ae89787fac9d1f
7
+ data.tar.gz: 678ffc85d78c890e304475f9e0e387287399131e1259d7f034980840157dc488f2de0687291faf0b02de3c617098d7f0f0ed616e95f7fe28b77f95d50c4f2bfc
@@ -157,7 +157,8 @@ module IsoDoc::Ietf
157
157
  s.children = s.children.to_xml.gsub(%r{<br/>\n}, "\n").
158
158
  gsub(%r{\s+(<t[ >])}, "\\1").gsub(%r{</t>\s+}, "</t>")
159
159
  sourcecode_remove_markup(s)
160
- s.children = "<![CDATA[#{s.children.to_xml.sub(/\A\n+/, "")}]]>"
160
+ text = HTMLEntities.new.decode(s.children.to_xml.sub(/\A\n+/, ""))
161
+ s.children = "<![CDATA[#{text}]]>"
161
162
  end
162
163
  end
163
164
 
@@ -168,7 +168,7 @@ module IsoDoc::Ietf
168
168
 
169
169
  def date(isoxml, front)
170
170
  date = @meta.get[:publisheddate] || @meta.get[:circulateddate] || return
171
- date.gsub!(/T.*$/, "")
171
+ date = date.gsub(/T.*$/, "")
172
172
  attr = date_attr(date) || return
173
173
  front.date **attr_code(attr)
174
174
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "2.1.2".freeze
3
+ VERSION = "2.1.3".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-standoc