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.
1.1 KiB
Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: *** Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph Br->
Paragraph 5
*** Output of inspect *** md_el(:document,[ md_par(["Paragraph 1"]), md_par(["Paragraph 2"]), md_par([ "Paragraph 3 Paragraph 4 Paragraph Br->", md_el(:linebreak,[],{},[]), "Paragraph 5" ]) ],{},[]) *** Output of to_html ***
Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br-{\tt \char62}\newline Paragraph 5 *** Output of to_md *** Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5
*** Output of to_s ***
Paragraph 1Paragraph 2Paragraph 3 Paragraph 4 Paragraph Br->Paragraph 5
*** EOF ***
OK!
*** Output of Markdown.pl ***
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph Br->
Paragraph 5
*** Output of Markdown.pl (parsed) ***
Paragraph 1
Paragraph 2
Paragraph 3 Paragraph 4 Paragraph Br->
Paragraph 5