instiki/vendor/plugins/maruku/tests/unittest/list1.md
Jacques Distler 1085168bbf Update to latest HTML5lib, Add Maruku testdir
Sync with the latest html5lib.
Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
2008-01-08 00:01:35 -06:00

1.2 KiB

Write a comment abouth the test here. *** Parameters: *** {} *** Markdown input: ***

  • A list item with a blockquote:

    This is a blockquote inside a list item.

*** 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},[]) ],{},[]) ],{},[]) *** Output of to_html ***

  • A list item with a blockquote:

    This is a blockquote inside a list item.

*** Output of to_latex *** \begin{itemize}% \item A list item with a blockquote:

\begin{quote}% This is a blockquote inside a list item.

\end{quote}

\end{itemize} *** Output of to_md ***

  • list item with a blockquote: This is a blockquote inside a list item. *** Output of to_s *** A list item with a blockquote:This is a blockquote inside a list item. *** EOF ***

    OK!

*** Output of Markdown.pl ***

  • A list item with a blockquote:

    This is a blockquote inside a list item.

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

... </>:REXML::Element>