instiki/vendor/plugins/maruku/tests/unittest/olist.md
Jacques Distler 38ae064b8a Bundle Latest REXML
Sam Ruby has been doing a bang-up job fixing the bugs in REXML.
Who knows when these improvements will trickle down to vendor distributions of Ruby.
In the meantime, let's bundle the latest version of REXML with Instiki.
We check the version number of the bundled REXML against that of the System REXML, and use whichever is later.
2008-01-11 23:53:29 -06:00

993 B

*** Parameters: *** {} *** Markdown input: *** This is a list:

  1. one
  2. two
  3. three *** Output of inspect *** md_el(:document,[ md_par(["This is a list:"]), md_el(:ol,[ md_el(:li_span,["one"],{:want_my_paragraph=>false},[]), md_el(:li_span,["two"],{:want_my_paragraph=>false},[]), md_el(:li_span,["three"],{:want_my_paragraph=>false},[]) ],{},[]) ],{},[]) *** Output of to_html ***

This is a list:

  1. one
  2. two
  3. three
*** Output of to_latex *** This is a list:

\begin{enumerate}% \item one \item two \item three

\end{enumerate} *** Output of to_md *** This is a list:

  1. one

  2. two

  3. three *** Output of to_s *** This is a list:onetwothree *** EOF ***

    OK!

*** Output of Markdown.pl ***

This is a list:

  1. one
  2. two
  3. three

*** Output of Markdown.pl (parsed) ***

This is a list:

  1. one
  2. two
  3. three