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:
parent
ebc409e1a0
commit
1085168bbf
337 changed files with 21290 additions and 72 deletions
58
vendor/plugins/maruku/tests/unittest/math/table.md
vendored
Normal file
58
vendor/plugins/maruku/tests/unittest/math/table.md
vendored
Normal file
|
@ -0,0 +1,58 @@
|
|||
Write a comment here
|
||||
*** Parameters: ***
|
||||
{}
|
||||
*** Markdown input: ***
|
||||
<table markdown='1'>
|
||||
$\alpha$
|
||||
<thead>
|
||||
<td>$\beta$</td>
|
||||
</thead>
|
||||
</table>
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
<table><span class='maruku-inline'><code class='maruku-mathml'>\alpha</code></span><thead>
|
||||
<td><span class='maruku-inline'><code class='maruku-mathml'>\beta</code></span></td>
|
||||
</thead>
|
||||
</table>
|
||||
*** Output of to_latex ***
|
||||
|
||||
*** Output of to_md ***
|
||||
|
||||
*** Output of to_s ***
|
||||
|
||||
*** EOF ***
|
||||
|
||||
|
||||
|
||||
|
||||
Failed tests: [:to_html]
|
||||
|
||||
*** Output of inspect ***
|
||||
md_el(:document,[
|
||||
md_html("<table markdown='1'>\n\t$\\alpha$\n\t<thead>\n\t\t<td>$\\beta$</td>\n\t</thead>\n</table>")
|
||||
],{},[])
|
||||
*** Output of to_html ***
|
||||
-----| WARNING | -----
|
||||
<table><span class='maruku-inline'><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>α</mi></math></span><thead>
|
||||
<td><span class='maruku-inline'><math class='maruku-mathml' display='inline' xmlns='http://www.w3.org/1998/Math/MathML'><mi>β</mi></math></span></td>
|
||||
</thead>
|
||||
</table>
|
||||
*** Output of to_latex ***
|
||||
|
||||
*** Output of to_md ***
|
||||
|
||||
*** Output of to_s ***
|
||||
|
||||
*** Output of Markdown.pl ***
|
||||
<table markdown='1'>
|
||||
$\alpha$
|
||||
<thead>
|
||||
<td>$\beta$</td>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
*** Output of Markdown.pl (parsed) ***
|
||||
Error: #<NoMethodError: private method `write_children' called for <div> ... </>:REXML::Element>
|
Loading…
Add table
Add a link
Reference in a new issue