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:
parent
ebc409e1a0
commit
1085168bbf
337 changed files with 21290 additions and 72 deletions
33
vendor/plugins/maruku/tests/unittest/email.md
vendored
Normal file
33
vendor/plugins/maruku/tests/unittest/email.md
vendored
Normal 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'>andrea@invalid.it</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="mailto:andrea@invalid.it">andrea@invalid.it</a></p>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
Loading…
Add table
Add a link
Reference in a new issue