Fix Maruku Escaping Bug

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.
This commit is contained in:
Jacques Distler 2009-05-13 01:27:39 -05:00
parent ec7141942b
commit a84648cff1
20 changed files with 1725 additions and 136 deletions

View file

@ -4,15 +4,15 @@ This shows how Maruku recovers from parsing errors
*** Markdown input: ***
Search on [Google images][ GoOgle search ]
*** Output of inspect ***
md_el(:document,[md_par(["Search on Google imagesGoOgle search ]"])],{},[])
md_el(:document,[md_par(["Search on ", md_link(["Google images"],"google_search")])],{},[])
*** Output of to_html ***
<p>Search on Google imagesGoOgle search ]</p>
<p>Search on <span>Google images</span></p>
*** Output of to_latex ***
Search on Google imagesGoOgle search ]
Search on Google images
*** Output of to_md ***
Search on Google imagesGoOgle search ]
Search on Google images
*** Output of to_s ***
Search on Google imagesGoOgle search ]
Search on Google images
*** EOF ***