instiki/vendor/plugins/maruku/spec/block_docs/pending/link.md
Jacques Distler 13a522525c REXML is dead. Long live Nokogiri.
Modify Maruku to use Nokogiri instead of REXML.
Produces a 3-fold speedup in the #to_html method.
2011-08-11 20:36:44 -05:00

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 ***

*** Output of to_s ***