metanorma-ietf 3.3.9 → 3.3.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,8 +52,8 @@ module Metanorma
52
52
  when :single then xml << "'#{node.text}'"
53
53
  when :superscript then xml.sup { |s| s << node.text }
54
54
  when :subscript then xml.sub { |s| s << node.text }
55
- when :asciimath then stem_parse(node.text, xml, :asciimath, false)
56
- when :latexmath then stem_parse(node.text, xml, :latexmath, false)
55
+ when :asciimath then stem_parse(node.text, xml, :asciimath, node)
56
+ when :latexmath then stem_parse(node.text, xml, :latexmath, node)
57
57
  else
58
58
  case node.role
59
59
  when "bcp14" then xml.bcp14 { |s| s << node.text.upcase }