instiki/vendor/plugins/maruku/tests/unittest/email.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

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="&#109;&#x61;&#x69;&#108;&#116;&#111;:&#97;&#x6E;&#100;&#114;&#x65;&#x61;&#64;&#105;&#110;&#x76;&#97;&#x6C;&#x69;&#100;&#46;&#x69;&#x74;">&#97;&#x6E;&#100;&#114;&#x65;&#x61;&#64;&#105;&#110;&#x76;&#97;&#x6C;&#x69;&#100;&#46;&#x69;&#x74;</a></p>
*** Output of Markdown.pl (parsed) ***
Error: #<TypeError: no implicit conversion from nil to integer>