lib/isodoc/presentation_function/math.rb in isodoc-2.4.3 vs lib/isodoc/presentation_function/math.rb in isodoc-2.4.4

- old
+ new

@@ -104,10 +104,10 @@ end def mathml_style_inherit(node) node.at("./ancestor::xmlns:strong") or return node.children = - "<mstyle fontweight='bold'>#{node.children.to_xml}</mstyle>" + "<mstyle mathvariant='bold'>#{node.children.to_xml}</mstyle>" end def mathml_number_to_number(node) (node.elements.size == 1 && node.elements.first.name == "mn") or return repl = node.at("./m:mn", MATHML).children