instiki/vendor/plugins/maruku/tests/unittest/paragraph_rules/dont_merge_ref.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

61 lines
862 B
Markdown

Paragraphs eats everything, but not link definitions.
*** Parameters: ***
{}
*** Markdown input: ***
Paragraph
[google1]: #
Paragraph
[google2]: #
Paragraph
[google3]: #
*** Output of inspect ***
md_el(:document,[
md_par(["Paragraph"]),
md_ref_def("google1", "#", {:title=>nil}),
md_par(["Paragraph"]),
md_ref_def("google2", "#", {:title=>nil}),
md_par(["Paragraph"]),
md_ref_def("google3", "#", {:title=>nil})
],{},[])
*** Output of to_html ***
<p>Paragraph</p>
<p>Paragraph</p>
<p>Paragraph</p>
*** Output of to_latex ***
Paragraph
Paragraph
Paragraph
*** Output of to_md ***
Paragraph
Paragraph
Paragraph
*** Output of to_s ***
ParagraphParagraphParagraph
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Paragraph
Paragraph
Paragraph</p>
*** Output of Markdown.pl (parsed) ***
<div>
<p>
Paragraph Paragraph Paragraph
</p>
</div>