Sync with latest Maruku (now on github). lib/maruku/ext/math/mathml_engines/none.rb should HTML-escape the TeX source code. No it does.
2.7 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 ***
*** EOF ***
Failed tests: [:to_html]
*** 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 *** -----| WARNING | -----
x = y
x = y
x = y
x = y
x = y
x = y
x = y
x = y
*** Output of to_s ***
*** Output of Markdown.pl *** (not used anymore) *** Output of Markdown.pl (parsed) *** (not used anymore)