metanorma-ietf 2.4.2 → 2.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/ietf/cleanup.rb +4 -1
- data/lib/isodoc/ietf/cleanup.rb +2 -2
- data/lib/metanorma/ietf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b22c8815c0cc3923b629bedb736f56ff20f06aca37abf875d67ff91a63ac6af
|
4
|
+
data.tar.gz: 7a2dd5c740d7f2343c07f684f1f7c672b5577f03e5acc48467da7e3d63f6eb2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f602fe12119c1bf21a3d35ef675d67ce68964373a41a34e39c3f6c38ba5233d129cc43e39599a87ac3237c0b1da2ece3773d50e499b8f3b1a36dce35c6d1acd0
|
7
|
+
data.tar.gz: 03fbcf5cb80118d00fdf3753cc00277f52c16fe60c229b03e360ac47cd9b8df3982a11b35a5226dd36c58c593c2aba6e1a08158ebbc5c4184f7aaaceb95d8959
|
@@ -63,7 +63,10 @@ module Asciidoctor
|
|
63
63
|
|
64
64
|
n.replace(HTMLEntities.new.encode(
|
65
65
|
n.text.gsub(/\u2019|\u2018|\u201a|\u201b/, "'")
|
66
|
-
.gsub(/\u201c|\u201d|\u201e|\u201f/, '"')
|
66
|
+
.gsub(/\u201c|\u201d|\u201e|\u201f/, '"')
|
67
|
+
.gsub(/[\u2010-\u2015]/, "-")
|
68
|
+
.gsub(/[\u2000-\u200a]|\u202f|\u205f/, " "),
|
69
|
+
:basic,
|
67
70
|
))
|
68
71
|
end
|
69
72
|
xmldoc
|
data/lib/isodoc/ietf/cleanup.rb
CHANGED
@@ -19,8 +19,8 @@ module IsoDoc::Ietf
|
|
19
19
|
def u_cleanup(xmldoc)
|
20
20
|
xmldoc.traverse do |n|
|
21
21
|
next unless n.text?
|
22
|
-
next
|
23
|
-
|
22
|
+
next unless %w(t blockquote li dd preamble td th annotation)
|
23
|
+
.include? n.parent.name
|
24
24
|
|
25
25
|
n.replace(n.text.gsub(/[\u0080-\uffff]/, "<u>\\0</u>"))
|
26
26
|
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.4.
|
4
|
+
version: 2.4.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: 2021-09-
|
11
|
+
date: 2021-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: isodoc
|