1085168bbf
Sync with the latest html5lib. Having the Maruku unit tests on-hand may be useful for debugging; so let's include them.
89 lines
1.4 KiB
HTML
89 lines
1.4 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><meta content='text/html; charset=utf-8' http-equiv='Content-type' />
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<p>Here's a simple block:</p>
|
|
|
|
<div>
|
|
foo
|
|
</div>
|
|
|
|
<p>This should be a code block, though:</p>
|
|
|
|
<pre><code><div>
|
|
foo
|
|
</div>
|
|
</code></pre>
|
|
|
|
<p>As should this:</p>
|
|
|
|
<pre><code><div>foo</div>
|
|
</code></pre>
|
|
|
|
<p>Now, nested:</p>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
foo
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<p>This should just be an HTML comment:</p>
|
|
<!-- Comment -->
|
|
<p>Multiline:</p>
|
|
<!--
|
|
Blah
|
|
Blah
|
|
-->
|
|
<p>Code block:</p>
|
|
|
|
<pre><code><!-- Comment -->
|
|
</code></pre>
|
|
|
|
<p>Just plain comment, with trailing spaces on the line:</p>
|
|
<!-- foo -->
|
|
<p>Code:</p>
|
|
|
|
<pre><code><hr /></code></pre>
|
|
|
|
<p>Hr's:</p>
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
<hr />
|
|
|
|
<hr class='foo' id='bar' />
|
|
|
|
<hr class='foo' id='bar' />
|
|
|
|
<hr class='foo' id='bar' />
|
|
|
|
<div class='footnotes'>
|
|
<hr />
|
|
|
|
<ol />
|
|
</div>
|
|
|
|
<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 23:15 on Friday, January 05th, 2007.</span></div>
|
|
</body></html>
|