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.
5 KiB
Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: *** Paragraph, list with no space:
- ciao
Paragraph, list with 1 space:
- ciao
Paragraph, list with 3 space:
- ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space:
- ciao
Paragraph (2 spaces after), list with no space:
- ciao
Paragraph (3 spaces after), list with no space:
- ciao
Paragraph with block quote:
Quoted
Paragraph with header:
header
Paragraph with header on two lines: header
*** Output of inspect *** md_el(:document,[ md_par(["Paragraph, list with no space: * ciao"]), md_par(["Paragraph, list with 1 space: * ciao"]), md_par(["Paragraph, list with 3 space: * ciao"]), md_par(["Paragraph, list with 4 spaces: * ciao"]), md_par(["Paragraph, list with 1 tab: * ciao"]), md_par(["Paragraph (1 space after), list with no space: * ciao"]), md_par([ "Paragraph (2 spaces after), list with no space:", md_el(:linebreak,[],{},[]), "* ciao" ]), md_par([ "Paragraph (3 spaces after), list with no space: ", md_el(:linebreak,[],{},[]), "* ciao" ]), md_par(["Paragraph with block quote:"]), md_el(:quote,[md_par(["Quoted"])],{},[]), md_par(["Paragraph with header:"]), md_el(:header,["header"],{:level=>3},[]), md_par(["Paragraph with header on two lines:"]), md_el(:header,["header"],{:level=>2},[]) ],{},[]) *** Output of to_html ***
Paragraph, list with no space: * ciao
Paragraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:
* ciao
Paragraph (3 spaces after), list with no space:
* ciao
Paragraph with block quote:
Quoted
Paragraph with header:
header
Paragraph with header on two lines:
header
*** Output of to_latex *** Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:\newline * ciao
Paragraph (3 spaces after), list with no space: \newline * ciao
Paragraph with block quote:
\begin{quote}% Quoted
\end{quote} Paragraph with header:
\hypertarget{header}{}\subsubsection*{{header}}\label{header}
Paragraph with header on two lines:
\hypertarget{header}{}\subsection*{{header}}\label{header} *** Output of to_md *** Paragraph, list with no space: * ciao
Paragraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:
- ciao
Paragraph (3 spaces after), list with no space:
- ciao
Paragraph with block quote:
Quoted
Paragraph with header:
headerParagraph with header on two lines:
header *** Output of to_s *** Paragraph, list with no space: * ciaoParagraph, list with 1 space: * ciaoParagraph, list with 3 space: * ciaoParagraph, list with 4 spaces: * ciaoParagraph, list with 1 tab: * ciaoParagraph (1 space after), list with no space: * ciaoParagraph (2 spaces after), list with no space:* ciaoParagraph (3 spaces after), list with no space: * ciaoParagraph with block quote:QuotedParagraph with header:headerParagraph with header on two lines:header *** EOF ***
OK!
*** Output of Markdown.pl ***
Paragraph, list with no space: * ciao
Paragraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:
* ciao
Paragraph (3 spaces after), list with no space:
* ciao
Paragraph with block quote:
Quoted
Paragraph with header:
header
Paragraph with header on two lines:
header
*** Output of Markdown.pl (parsed) ***
Paragraph, list with no space: * ciao
Paragraph, list with 1 space: * ciao
Paragraph, list with 3 space: * ciao
Paragraph, list with 4 spaces: * ciao
Paragraph, list with 1 tab: * ciao
Paragraph (1 space after), list with no space: * ciao
Paragraph (2 spaces after), list with no space:
* ciao
Paragraph (3 spaces after), list with no space:
* ciao
Paragraph with block quote:
Quoted
Paragraph with header:
header
Paragraph with header on two lines: