instiki/vendor/plugins/maruku/spec/block_docs/pending/link.md
Jacques Distler f463a3b1c8 Fix Maruku Indented Codeblocks
I'd screwed that up.
Also, fix some bugs in the #to_md
output method. Still not correct
(and I'm not sure I'm going to
bother completing the job), but
better.
2011-08-21 02:43:43 -05:00

2.2 KiB

Write a comment here *** Parameters: *** {} # params *** Markdown input: *** http://www.aa.com

http://www.bb.com

http://www.cc.com

http://www.dd.com

<http://www.dd.com>

a@invalid.it

a@invalid.it

a@invalid.it

<a@invalid.it>

*** Output of inspect *** md_el(:document,[ md_par([md_url("http://www.aa.com")]), md_par([md_url("http://www.bb.com")]), md_par([md_url("http://www.cc.com")]), md_par([md_url("http://www.dd.com")]), md_el(:code,[],{:raw_code=>"http://www.dd.com"},[]), md_par([md_email("a@invalid.it")]), md_par([md_email("a@invalid.it")]), md_par([md_email("a@invalid.it")]), md_el(:code,[],{:raw_code=>"a@invalid.it"},[]) ],{},[]) *** Output of to_html ***

http://www.aa.com

http://www.bb.com

http://www.cc.com

http://www.dd.com

<http://www.dd.com>

a@invalid.it

a@invalid.it

a@invalid.it

<a@invalid.it>

*** Output of to_latex *** \href{http://www.aa.com}{http\char58\char47\char47www\char46aa\char46com}

\href{http://www.bb.com}{http\char58\char47\char47www\char46bb\char46com}

\href{http://www.cc.com}{http\char58\char47\char47www\char46cc\char46com}

\href{http://www.dd.com}{http\char58\char47\char47www\char46dd\char46com}

\begin{verbatim}http://www.dd.com\end{verbatim} \href{mailto:a@invalid.it}{a\char64invalid\char46it}

\href{mailto:a@invalid.it}{a\char64invalid\char46it}

\href{mailto:a@invalid.it}{a\char64invalid\char46it}

\begin{verbatim}a@invalid.it\end{verbatim} *** Output of to_md *** http://www.aa.com

http://www.bb.com

http://www.cc.com

http://www.dd.com

<http://www.dd.com>

a@invalid.it

a@invalid.it

a@invalid.it

<a@invalid.it>

*** Output of to_s ***