Method: Ritex::Parser#op

Defined in:
lib/ritex.rb

#op(o, opts = []) ⇒ Object



128
129
130
131
132
133
# File 'lib/ritex.rb', line 128

def op o, opts=[]
  case @format
  when :mathml; markup(token(o), "mo", opts)
  when :raw; o
  end
end