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="&#x6D;&#97;i&#x6C;&#x74;o:&#x61;n&#100;r&#101;&#x61;&#64;&#x69;&#x6E;&#x76;&#97;&#108;&#105;&#100;&#46;&#105;&#x74;">&#x61;n&#100;r&#101;&#x61;&#64;&#x69;&#x6E;&#x76;&#97;&#108;&#105;&#100;&#46;&#105;&#x74;</a></p>
*** Output of Markdown.pl (parsed) ***
Error: #<TypeError: no implicit conversion from nil to integer>