lib/maruku/ext/math/to_html.rb in maruku-0.5.0 vs lib/maruku/ext/math/to_html.rb in maruku-0.5.1
- old
+ new
@@ -40,17 +40,9 @@
=end
module MaRuKu; module Out; module HTML
- def add_class_to(el, cl)
- el.attributes['class'] =
- if already = el.attributes['class']
- already + " " + cl
- else
- cl
- end
- end
# Creates an xml Mathml document of self.math
def render_mathml(kind, tex)
engine = get_setting(:html_math_engine)
method = "convert_to_mathml_#{engine}".to_sym