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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83a0728840ef2d5d5a7ace72f4bc2dfff97a85b6213e73511e15fd303313440f
4
- data.tar.gz: 600e41fd0c3559f1b53ed072e6dc54905c049c3a41655ca2355af9451d0573d3
3
+ metadata.gz: db0f0030dc219f510cd5bfe09eee947affc4768c85c254a7e27884fd792dd8bb
4
+ data.tar.gz: de10fb64bde1ef680680ad9c87982deb153d3148d6c7042aa914b7cf31401097
5
5
  SHA512:
6
- metadata.gz: 92d3d375108c3d6f441c9070a9c1bd454d8471f92b3fb6fddaaeff9c4f8f15b2fc06cdd46c907ff9fbf2d619632a9551c8d75dac8ad2866fb0994f79841edde7
7
- data.tar.gz: f6740373061b304cbda897852a632686eb7675394d179d6ee05ad9bca4b0d1031b0cb45e0a371f5a41490e820b63079dedca33e318ae94d5ede1ca2ea34259d5
6
+ metadata.gz: d3e05e7fb57a7e861c6499a94cf428f379b1962bfce734bfccc45095500e4f8af0fb13f0dac7a6ec7aac92161fb9a297f8d835f75a57542bf751b41435562ab4
7
+ data.tar.gz: c53e43406961d7f2fb274ad89a9f4c6b9c094ddcc8d9611627c42c3e5eb32442632cd6a2a8558cd453290c551e90d21cd8a65e42cb6ba08f98b13b3a5ed0e149
@@ -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
@@ -58,7 +58,10 @@ module IsoDoc
58
58
 
59
59
  def stem_parse(node, out)
60
60
  stem = case node["type"]
61
- when "MathML" then Plurimath::Math
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
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.4.2".freeze
3
+ VERSION = "3.4.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: 3.4.2
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-10 00:00:00.000000000 Z
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