13a522525c
Modify Maruku to use Nokogiri instead of REXML. Produces a 3-fold speedup in the #to_html method.
1.3 KiB
1.3 KiB
Write a comment here *** Parameters: *** require 'maruku/ext/math';{} *** Markdown input: ***
x = y
x
= y
x = y
x = y
*** Output of inspect *** md_el(:document,[ md_el(:equation,[],{:label=>nil,:math=>" x = y ",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]), md_el(:equation,[],{:label=>nil,:math=>" x = y \n",:num=>nil},[]) ],{},[]) *** Output of to_html ***
x = y
x = y
x = y
x = y
x = y
x = y
x = y
x = y
*** Output of to_s ***