lib/plurimath/math/function/linebreak.rb in plurimath-0.8.2 vs lib/plurimath/math/function/linebreak.rb in plurimath-0.8.4

- old
+ new

@@ -47,10 +47,10 @@ def to_mathml_without_math_tag return Utility.ox_element("mo", attributes: { linebreak: "newline" }) unless parameter_one mo_node = parameter_one.to_mathml_without_math_tag mo_node.name = "mo" unless mo_node.name == "mo" - mo_node.attributes.merge!(attributes) unless attributes.empty? + mo_node.set_attr(attributes) unless attributes.empty? mo_node end def to_html br_tag = "<br/>"