metanorma-ietf 3.1.7 → 3.1.8
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/inline.rb +14 -0
- data/lib/metanorma/ietf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f8cb9a6cb2e25458bb5cb6ccf210d7633c2b204695b25f4ee8d6293153f8edd
|
4
|
+
data.tar.gz: 214f0679505abceb77c0930949be92983c4388af7ecc03884818370c5e2e5c55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a394ac99adbe0430c8577256b11da8ef3fc786aece5535b00d9c87cc40abd55743a9d3caa2577edd609aadb699eb8ca895bd08b6495f82b6451d33a918eb32d8
|
7
|
+
data.tar.gz: a0c155b799fae53a21b451085b903bf1c7c5de400ecfc5130418dde096d47e3104ef5a412a755ecfe8d635ca42c10aa67f3dabd2d347246a0b63ed6c053cc25e
|
data/lib/isodoc/ietf/inline.rb
CHANGED
@@ -99,6 +99,20 @@ module IsoDoc
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
+
def svg_parse(node, out)
|
103
|
+
if node.parent.name == "image" then super
|
104
|
+
else
|
105
|
+
attrs = { src: node["src"], title: node["title"],
|
106
|
+
align: node["align"], name: node["filename"],
|
107
|
+
anchor: node["id"], type: "svg",
|
108
|
+
alt: node["alt"] }
|
109
|
+
out.artwork **attr_code(attrs) do |x|
|
110
|
+
out = x
|
111
|
+
super
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
102
116
|
def xref_parse(node, out)
|
103
117
|
out.xref **attr_code(target: node["target"], format: node["format"],
|
104
118
|
relative: node["relative"]) do |l|
|