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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e369ff9743d4d7458c716e2d5657b3211afd6e00f2d2edff2fabc296fb9a928
4
- data.tar.gz: 7ff3c2920d93555731eb5a532cc2a179e44e045b259cd088e27fe10596240ef9
3
+ metadata.gz: 2f8cb9a6cb2e25458bb5cb6ccf210d7633c2b204695b25f4ee8d6293153f8edd
4
+ data.tar.gz: 214f0679505abceb77c0930949be92983c4388af7ecc03884818370c5e2e5c55
5
5
  SHA512:
6
- metadata.gz: 0fde6762789876d636a84673ae6a86e9742a6b9b7165ef50eaf3dc5ef2f57f6c4928de9a6a9ffae382eef3956596d23e18f026adde2ce4d8bac6d0292cf3c867
7
- data.tar.gz: 388e7f69a84adad887fe3dac523f52758f9ef0fd8456c25071c993508915ef5a131d0773e8b1ffbd921b2e509f505837f0a1a8ed907f47b78420b50b39887ae2
6
+ metadata.gz: a394ac99adbe0430c8577256b11da8ef3fc786aece5535b00d9c87cc40abd55743a9d3caa2577edd609aadb699eb8ca895bd08b6495f82b6451d33a918eb32d8
7
+ data.tar.gz: a0c155b799fae53a21b451085b903bf1c7c5de400ecfc5130418dde096d47e3104ef5a412a755ecfe8d635ca42c10aa67f3dabd2d347246a0b63ed6c053cc25e
@@ -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|
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.1.7".freeze
3
+ VERSION = "3.1.8".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.7
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.