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
31
vendor/plugins/maruku/tests/unittest/inline_html.html
vendored
Normal file
31
vendor/plugins/maruku/tests/unittest/inline_html.html
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?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><link href='style.css' rel='stylesheet' type='text/css' />
|
||||
</head>
|
||||
<body>
|
||||
<p>Input:</p>
|
||||
|
||||
<pre><code><em>Emphasis</em></code></pre>
|
||||
|
||||
<p>Result: </p>
|
||||
|
||||
<p>Input:</p>
|
||||
|
||||
<pre><code><img src="http://jigsaw.w3.org/css-validator/images/vcss"/></code></pre>
|
||||
|
||||
<p>Result on span: </p>
|
||||
|
||||
<p>Result alone:</p>
|
||||
|
||||
<p>Without closing:</p>
|
||||
|
||||
<p>The following is invalid HTML, and will generate an error:</p>
|
||||
<pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
<table>
|
||||
<td markdown="1">This is *true* markdown text. (no par)</td>
|
||||
<td markdown="block">This is *true* markdown text. (par)</td>
|
||||
</tr></pre><pre class='markdown-html-error' style='border: solid 3px red; background-color: pink'>HTML parse error:
|
||||
</table></pre></body></html>
|
Loading…
Add table
Add a link
Reference in a new issue