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.
This commit is contained in:
Jacques Distler 2008-01-08 00:01:35 -06:00
parent ebc409e1a0
commit 1085168bbf
337 changed files with 21290 additions and 72 deletions

View file

@ -0,0 +1,33 @@
Write a comment abouth the test here.
*** Parameters: ***
{}
*** Markdown input: ***
This is an email address: <andrea@invalid.it>
*** Output of inspect ***
md_el(:document,[
md_par(["This is an email address: ", md_email("andrea@invalid.it")])
],{},[])
*** Output of to_html ***
<p>This is an email address: <a href='mailto:andrea@invalid.it'>&#097;&#110;&#100;&#114;&#101;&#097;&#064;&#105;&#110;&#118;&#097;&#108;&#105;&#100;&#046;&#105;&#116;</a></p>
*** Output of to_latex ***
This is an email address: \href{mailto:andrea@invalid.it}{andrea\char64invalid\char46it}
*** Output of to_md ***
This is an email address:
*** Output of to_s ***
This is an email address:
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>This is an email address: <a href="&#x6D;&#97;&#x69;&#x6C;&#116;&#x6F;:&#97;&#x6E;&#x64;&#114;&#x65;&#97;&#64;&#105;&#110;&#118;&#97;li&#100;&#46;&#x69;&#116;">&#97;&#x6E;&#x64;&#114;&#x65;&#97;&#64;&#105;&#110;&#118;&#97;li&#100;&#46;&#x69;&#116;</a></p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>