1085168bbf
Sync with the latest html5lib. Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
31 lines
585 B
Markdown
31 lines
585 B
Markdown
Write a comment here
|
|
*** Parameters: ***
|
|
{} # params
|
|
*** Markdown input: ***
|
|
![bar](/foo.jpg)
|
|
|
|
|
|
*** Output of inspect ***
|
|
md_el(:document,[md_par([md_im_image(["bar"], "/foo.jpg", nil)])],{},[])
|
|
*** Output of to_html ***
|
|
<p><img src='/foo.jpg' alt='bar' /></p>
|
|
*** Output of to_latex ***
|
|
|
|
*** Output of to_md ***
|
|
bar
|
|
*** Output of to_s ***
|
|
bar
|
|
*** EOF ***
|
|
|
|
|
|
|
|
OK!
|
|
|
|
|
|
|
|
*** Output of Markdown.pl ***
|
|
<p><img src="/foo.jpg" alt="bar" title="" /></p>
|
|
|
|
*** Output of Markdown.pl (parsed) ***
|
|
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|