1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
JRUBY NOKOGIRI PENDING - Write a comment here
(JRuby Nokogiri is broken for empty tags: https://github.com/sparklemotion/nokogiri/issues/971)
*** Parameters: ***
{:on_error=>:raise}
*** Markdown input: ***
<svg/>
<svg:svg xmlns:svg="http://www.w3.org/2000/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>
*** Output of inspect ***
md_el(:document,[
md_html("<svg/>"),
md_html("<svg:svg xmlns:svg=\"http://www.w3.org/2000/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 ***
<svg></svg><svg:svg xmlns:svg="http://www.w3.org/2000/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:circle>
</svg:g>
</svg:svg>
*** Output of to_latex ***
*** Output of to_md ***
*** Output of to_s ***
|