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.
This commit is contained in:
Jacques Distler 2008-01-08 00:01:35 -06:00
parent ebc409e1a0
commit 1085168bbf
337 changed files with 21290 additions and 72 deletions

View file

@ -0,0 +1,85 @@
Write a comment here
*** Parameters: ***
{} # params
*** Markdown input: ***
- Due
1. tre
1. tre
1. tre
- Due
*** Output of inspect ***
md_el(:document,[
md_el(:ul,[
md_el(:li,[
md_par(["Due"]),
md_el(:ol,[
md_el(:li_span,["tre"],{:want_my_paragraph=>false},[]),
md_el(:li_span,["tre"],{:want_my_paragraph=>false},[]),
md_el(:li_span,["tre"],{:want_my_paragraph=>false},[])
],{},[])
],{:want_my_paragraph=>true},[]),
md_el(:li,[md_par(["Due"])],{:want_my_paragraph=>false},[])
],{},[])
],{},[])
*** Output of to_html ***
<ul>
<li>
<p>Due</p>
<ol>
<li>tre</li>
<li>tre</li>
<li>tre</li>
</ol>
</li>
<li>
<p>Due</p>
</li>
</ul>
*** Output of to_latex ***
\begin{itemize}%
\item Due
\begin{enumerate}%
\item tre
\item tre
\item tre
\end{enumerate}
\item Due
\end{itemize}
*** Output of to_md ***
-ue* tre
* tre
* tre
-ue
*** Output of to_s ***
DuetretretreDue
*** EOF ***
OK!
*** Output of Markdown.pl ***
<ul>
<li>Due
<ol>
<li>tre</li>
<li>tre</li>
<li>tre</li>
</ol></li>
<li>Due</li>
</ul>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>