# File lib/maruku/ext/math/mathml_engines/none.rb, line 3 def convert_to_mathml_none(kind, tex) # You can: either return a REXML::Element # return Element.new 'div' # or return an empty array on error # return [] # or have a string parsed by REXML: tex = tex.gsub('&','&') mathml = "<code>#{tex}</code>" return Document.new(mathml).root end