38ae064b8a
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.
63 lines
1.6 KiB
Markdown
63 lines
1.6 KiB
Markdown
Write a comment abouth the test here.
|
|
*** Parameters: ***
|
|
{:css=>"style.css"}
|
|
*** Markdown input: ***
|
|
CSS: style.css
|
|
|
|
First Header | Second Header
|
|
------------- | -------------
|
|
Content Cell | Content Cell
|
|
Content Cell | Content Cell
|
|
|
|
*** Output of inspect ***
|
|
md_el(:document,[
|
|
md_el(:table,[
|
|
md_el(:head_cell,["First Header"],{},[]),
|
|
md_el(:head_cell,["Second Header"],{},[]),
|
|
md_el(:cell,["Content Cell"],{},[]),
|
|
md_el(:cell,["Content Cell"],{},[]),
|
|
md_el(:cell,["Content Cell"],{},[]),
|
|
md_el(:cell,["Content Cell"],{},[])
|
|
],{:align=>[:left, :left]},[])
|
|
],{},[])
|
|
*** Output of to_html ***
|
|
<table><thead><tr><th>First Header</th><th>Second Header</th></tr></thead><tbody><tr><td style='text-align: left;'>Content Cell</td><td style='text-align: left;'>Content Cell</td>
|
|
</tr><tr><td style='text-align: left;'>Content Cell</td><td style='text-align: left;'>Content Cell</td>
|
|
</tr></tbody></table>
|
|
*** Output of to_latex ***
|
|
\begin{tabular}{l|l}
|
|
First Header&Second Header\\
|
|
\hline
|
|
Content Cell&Content Cell\\
|
|
Content Cell&Content Cell\\
|
|
\end{tabular}
|
|
*** Output of to_md ***
|
|
First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
|
|
*** Output of to_s ***
|
|
First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
|
|
*** EOF ***
|
|
|
|
|
|
|
|
OK!
|
|
|
|
|
|
|
|
*** Output of Markdown.pl ***
|
|
<p>CSS: style.css</p>
|
|
|
|
<p>First Header | Second Header
|
|
------------- | -------------
|
|
Content Cell | Content Cell
|
|
Content Cell | Content Cell</p>
|
|
|
|
*** Output of Markdown.pl (parsed) ***
|
|
<div>
|
|
<p>
|
|
CSS: style.css
|
|
</p>
|
|
<p>
|
|
First Header | Second Header ------------- | ------------- Content Cell |
|
|
Content Cell Content Cell | Content Cell
|
|
</p>
|
|
</div> |