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,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
<body>
<p>This is iso-8859-1: àèìàù.</p>
</body></html>

View file

@ -0,0 +1,38 @@
Encoding: iso-8859-1
*** Parameters: ***
{}
*** Markdown input: ***
Encoding: iso-8859-1
This is iso-8859-1: àèìàù.
*** Output of inspect ***
md_el(:document,[
md_par([
"This is iso-8859-1: \303\203\302\240\303\203\302\250\303\203\302\254\303\203\302\240\303\203\302\271."
])
],{},[])
*** Output of to_html ***
<p>This is iso-8859-1: àèìàù.</p>
*** Output of to_latex ***
This is iso-8859-1: àèìàù.
*** Output of to_md ***
This is iso-8859-1:
àèìàù.
*** Output of to_s ***
This is iso-8859-1: àèìàù.
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Encoding: iso-8859-1</p>
<p>This is iso-8859-1: àèìàù.</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
"http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
<html xmlns:svg='http://www.w3.org/2000/svg' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
<head><meta content='application/xhtml+xml;charset=utf-8' http-equiv='Content-type' /><title></title></head>
<body>
<p>Japanese: マルク</p>
</body></html>

View file

@ -0,0 +1,33 @@
Write a comment abouth the test here.
*** Parameters: ***
{:italian=>"\303\240\303\250\303\254\303\262\303\271."}
*** Markdown input: ***
Italian: àèìòù.
Japanese: マルク
*** Output of inspect ***
md_el(:document,[md_par(["Japanese: \343\203\236\343\203\253\343\202\257"])],{},[])
*** Output of to_html ***
<p>Japanese: マルク</p>
*** Output of to_latex ***
Japanese: マルク
*** Output of to_md ***
Japanese: マルク
*** Output of to_s ***
Japanese: マルク
*** EOF ***
OK!
*** Output of Markdown.pl ***
<p>Italian: àèìòù.</p>
<p>Japanese: マルク</p>
*** Output of Markdown.pl (parsed) ***
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>