Blahtex
Sync with latest Maruku. Pave the way for Blahtex (PNG-based math) support (from Ari Stern). (no visible functionality, yet, but that will come)
This commit is contained in:
parent
4e3aefd9d3
commit
c427807274
33 changed files with 610 additions and 101 deletions
37
vendor/plugins/maruku/tests/unittest/xml.md
vendored
37
vendor/plugins/maruku/tests/unittest/xml.md
vendored
|
@ -35,9 +35,30 @@ md_el(:document,[
|
|||
|
||||
|
||||
|
||||
OK!
|
||||
|
||||
Failed tests: [:to_html]
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_html("<svg:svg/>"),
|
||||
md_html("<svg:svg \nwidth=\"600px\" height=\"400px\">\n <svg:g id=\"group\">\n\t<svg:circle id=\"circ1\" r=\"1cm\" cx=\"3cm\" cy=\"3cm\" style=\"fill:red;\"></svg:circle>\n\t<svg:circle id=\"circ2\" r=\"1cm\" cx=\"7cm\" cy=\"3cm\" style=\"fill:red;\" />\n </svg:g>\n</svg:svg>")
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
-----| WARNING | -----
|
||||
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
<svg:svg/></pre><pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
<svg:svg
|
||||
width="600px" height="400px">
|
||||
<svg:g id="group">
|
||||
<svg:circle id="circ1" r="1cm" cx="3cm" cy="3cm" style="fill:red;"></svg:circle>
|
||||
<svg:circle id="circ2" r="1cm" cx="7cm" cy="3cm" style="fill:red;" />
|
||||
</svg:g>
|
||||
</svg:svg></pre>
|
||||
*** Output of to_latex ***
|
||||
|
||||
*** Output of to_md ***
|
||||
|
||||
*** Output of to_s ***
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<p><svg:svg/></p>
|
||||
|
@ -51,16 +72,4 @@ width="600px" height="400px">
|
|||
</svg:svg></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
<div>
|
||||
<p>
|
||||
<svg:svg/>
|
||||
</p>
|
||||
<p>
|
||||
<svg:svg height='400px' width='600px'>
|
||||
<svg:g id='group'>
|
||||
<svg:circle cy='3cm' id='circ1' r='1cm' cx='3cm' style='fill:red;'/>
|
||||
<svg:circle cy='3cm' id='circ2' r='1cm' cx='7cm' style='fill:red;'/>
|
||||
</svg:g>
|
||||
</svg:svg>
|
||||
</p>
|
||||
</div>
|
||||
Error: #<REXML::UndefinedNamespaceException: Undefined prefix svg found>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue