tests/unittest/extra_table1.md in maruku-0.3.0 vs tests/unittest/extra_table1.md in maruku-0.4.0
- old
+ new
@@ -10,48 +10,30 @@
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]})
-] , {:css=>"style.css"})
+ 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>
-
+<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_s ***
+*** Output of to_md ***
First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
*** Output of to_s ***
First HeaderSecond HeaderContent CellContent CellContent CellContent Cell
*** EOF ***
@@ -69,10 +51,10 @@
Content Cell | Content Cell
Content Cell | Content Cell</p>
*** Output of Markdown.pl (parsed) ***
<p>CSS: style.css</p
- ><p>First Header | Second Header
+ ><p>First Header | Second Header
------------- | -------------
-Content Cell | Content Cell
-Content Cell | Content Cell</p
- >
+Content Cell | Content Cell
+Content Cell | Content Cell</p
+ >
\ No newline at end of file