metanorma-ietf 3.4.2 → 3.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/isodoc/ietf/blocks.rb +13 -0
- data/lib/isodoc/ietf/inline.rb +4 -1
- 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: db0f0030dc219f510cd5bfe09eee947affc4768c85c254a7e27884fd792dd8bb
|
4
|
+
data.tar.gz: de10fb64bde1ef680680ad9c87982deb153d3148d6c7042aa914b7cf31401097
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e05e7fb57a7e861c6499a94cf428f379b1962bfce734bfccc45095500e4f8af0fb13f0dac7a6ec7aac92161fb9a297f8d835f75a57542bf751b41435562ab4
|
7
|
+
data.tar.gz: c53e43406961d7f2fb274ad89a9f4c6b9c094ddcc8d9611627c42c3e5eb32442632cd6a2a8558cd453290c551e90d21cd8a65e42cb6ba08f98b13b3a5ed0e149
|
data/lib/isodoc/ietf/blocks.rb
CHANGED
@@ -86,6 +86,19 @@ module IsoDoc
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
def li_parse(node, out)
|
90
|
+
out.li **attr_code(anchor: node["id"]) do |li|
|
91
|
+
if node["uncheckedcheckbox"] == "true"
|
92
|
+
li << '<span class="zzMoveToFollowing">' \
|
93
|
+
'<input type="checkbox" checked="checked"/></span>'
|
94
|
+
elsif node["checkedcheckbox"] == "true"
|
95
|
+
li << '<span class="zzMoveToFollowing">' \
|
96
|
+
'<input type="checkbox"/></span>'
|
97
|
+
end
|
98
|
+
node.children.each { |n| parse(n, li) }
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
89
102
|
def note_label(node)
|
90
103
|
n = @xrefs.get[node["id"]]
|
91
104
|
n.nil? || n[:label].nil? || n[:label].empty? and
|
data/lib/isodoc/ietf/inline.rb
CHANGED
@@ -58,7 +58,10 @@ module IsoDoc
|
|
58
58
|
|
59
59
|
def stem_parse(node, out)
|
60
60
|
stem = case node["type"]
|
61
|
-
when "MathML"
|
61
|
+
when "MathML"
|
62
|
+
a = node.at(ns("./asciimath"))&.remove
|
63
|
+
a&.children&.text ||
|
64
|
+
Plurimath::Math
|
62
65
|
.parse(node.children.to_xml, "mathml").to_asciimath
|
63
66
|
else HTMLEntities.new.encode(node.text)
|
64
67
|
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: 3.4.
|
4
|
+
version: 3.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: 2024-12-
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-ietf-data
|