tests/unittest/list3.md in maruku-0.3.0 vs tests/unittest/list3.md in maruku-0.4.0

- old
+ new

@@ -13,18 +13,18 @@ *** Output of inspect *** md_el(:document,[ md_el(:ul,[ md_el(:li,[ md_par(["A list item with a blockquote:"]), - md_el(:quote,[md_par(["This is a blockquote inside a list item."])] ) - ] , {:want_my_paragraph=>true}), - md_el(:li,[ + md_el(:quote,[md_par(["This is a blockquote inside a list item."])],{},[]) + ],{:want_my_paragraph=>true},[]), + md_el(:li,[ md_par(["A list item with a code block:"]), - md_el(:code,[] , {:raw_code=>"<code goes here>"}) - ] , {:want_my_paragraph=>true}) - ] ) -] ) + md_el(:code,[],{:raw_code=>"<code goes here>"},[]) + ],{:want_my_paragraph=>true},[]) + ],{},[]) +],{},[]) *** Output of to_html *** <ul> <li> <p>A list item with a blockquote:</p> @@ -34,13 +34,11 @@ </blockquote> </li> <li> <p>A list item with a code block:</p> - -<pre><code>&lt;code goes here&gt;</code></pre> -</li> +<pre><code>&lt;code goes here&gt;</code></pre></li> </ul> *** Output of to_latex *** \begin{itemize}% \item A list item with a blockquote: @@ -56,14 +54,19 @@ \begin{verbatim}<code goes here>\end{verbatim} \end{itemize} +*** Output of to_md *** +- list item with a blockquote: +This is a blockquote inside a list +item. +- list item with a code block: + + *** Output of to_s *** A list item with a blockquote:This is a blockquote inside a list item.A list item with a code block: -*** Output of to_s *** -A list item with a blockquote:This is a blockquote inside a list item.A list item with a code block: *** EOF *** OK! @@ -85,27 +88,25 @@ </ul> *** Output of Markdown.pl (parsed) *** <ul> <li - ><p>A list item with a blockquote:</p - > - + ><p>A list item with a blockquote:</p + > <blockquote> - <p>This is a blockquote - inside a list item.</p - > + <p>This is a blockquote + inside a list item.</p + > </blockquote - ></li - > + ></li + > <li - ><p>A list item with a code block:</p - > - + ><p>A list item with a code block:</p + > <pre - ><code>&lt;code goes here&gt; + ><code>&lt;code goes here&gt; </code - ></pre - ></li - > + ></pre + ></li + > </ul - > + > \ No newline at end of file