lib/plurimath/math/function/bar.rb in plurimath-0.3.5 vs lib/plurimath/math/function/bar.rb in plurimath-0.3.6
- old
+ new
@@ -23,17 +23,18 @@
end
def to_omml_without_math_tag
bar = Utility.ox_element("bar", namespace: "m")
me = Utility.ox_element("e", namespace: "m")
- me << parameter_one.to_omml_without_math_tag if parameter_one
+ Utility.update_nodes(me, omml_value) if parameter_one
Utility.update_nodes(
bar,
[
bar_pr,
me,
],
)
+ [bar]
end
protected
def bar_pr