Sha256: bb92e33f9fde5ed3d9c1088ecc7af9ac72e8b817d5172dc81c2a6402c37b631b

Contents?: true

Size: 1.54 KB

Versions: 3

Compression:

Stored size: 1.54 KB

Contents

Write a comment here
*** Parameters: ***
{} # params 
*** Markdown input: ***


hello
{: summary="Table summary" .class1 style="color:red"}

h         | h
----------|--
{:t}  c1  | c2
{: summary="Table summary" .class1 style="color:red"}



{:t: scope="row"}
*** Output of inspect ***
md_el(:document,[
	md_par(["hello"], [["summary", "Table summary"], [:class, "class1"], ["style", "color:red"]]),
	md_el(:table,[
		md_el(:head_cell,["h"],{},[]),
		md_el(:head_cell,["h"],{},[]),
		md_el(:cell,[" c1"],{},[[:ref, "t"]]),
		md_el(:cell,["c2"],{},[])
	],{:align=>[:left, :left]},[["summary", "Table summary"], [:class, "class1"], ["style", "color:red"]]),
	md_el(:ald,[],{:ald=>[["scope", "row"]],:ald_id=>"t"},[])
],{},[])
*** Output of to_html ***
<p class='class1' style='color:red'>hello</p>
<table class='class1' summary='Table summary' style='color:red'><thead><tr><th>h</th><th>h</th></tr></thead><tbody><tr><th scope='row' style='text-align: left;'> c1</th><td style='text-align: left;'>c2</td>
</tr></tbody></table>
*** Output of to_latex ***
hello

\begin{tabular}{l|l}
h&h\\
\hline 
 c1&c2\\
\end{tabular}
*** Output of to_md ***
hello

hh c1c2
*** Output of to_s ***
hellohh c1c2
*** EOF ***



	OK!



*** Output of Markdown.pl ***
<p>hello
{: summary="Table summary" .class1 style="color:red"}</p>

<p>h         | h
----------|--
{:t}  c1  | c2
{: summary="Table summary" .class1 style="color:red"}</p>

<p>{:t: scope="row"}</p>

*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maruku-0.5.7 tests/unittest/bug_table.md
maruku-0.5.8 tests/unittest/bug_table.md
maruku-0.5.9 tests/unittest/bug_table.md