instiki/vendor/plugins/maruku/tests/unittest/recover/recover_links.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

29 lines
767 B
Markdown

This shows how Maruku recovers from parsing errors
*** Parameters: ***
{:on_error=>:warning}
*** Markdown input: ***
Search on [Google images][ GoOgle search ]
*** Output of inspect ***
md_el(:document,[md_par(["Search on Google imagesGoOgle search ]"])],{},[])
*** Output of to_html ***
<p>Search on Google imagesGoOgle search ]</p>
*** Output of to_latex ***
Search on Google imagesGoOgle search ]
*** Output of to_md ***
Search on Google imagesGoOgle search ]
*** Output of to_s ***
Search on Google imagesGoOgle search ]
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Search on [Google images][ GoOgle search ]</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>