1085168bbf
Sync with the latest html5lib. Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
54 lines
1.7 KiB
HTML
54 lines
1.7 KiB
HTML
<?xml version='1.0' encoding='utf-8'?>
|
|
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
|
|
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
|
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title></title>
|
|
|
|
<link href='style.css' rel='stylesheet' type='text/css' />
|
|
</head>
|
|
<body>
|
|
<p>Input: <em>Emphasis</em> Result: <em>Emphasis</em></p>
|
|
|
|
<p>Input: <img src='http://jigsaw.w3.org/css-validator/images/vcss' /> Result on span: <img src='http://jigsaw.w3.org/css-validator/images/vcss' /></p>
|
|
|
|
<p>Result alone: </p>
|
|
<img src='http://jigsaw.w3.org/css-validator/images/vcss' />
|
|
<p>Without closing:</p>
|
|
<img src='http://jigsaw.w3.org/css-validator/images/vcss' />
|
|
<div>
|
|
<p>This is <em>true</em> markdown text (paragraph)</p>
|
|
|
|
<p>This is <em>true</em> markdown text (no paragraph)</p>
|
|
</div>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>This is <em>true</em> markdown text. (no par)</td>
|
|
|
|
|
|
<td>
|
|
<p>This is <em>true</em> markdown text. (par)</p>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<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>
|
|
|
|
<div class='maruku_signature'>
|
|
<hr />
|
|
<span style='font-size: small; font-style: italic'>Created by <a href='http://maruku.rubyforge.org' title='Maruku: a Markdown interpreter'>Maruku</a> at 00:19 on Wednesday, January 03rd, 2007.</span></div>
|
|
</body></html>
|