1<p>Here's a simple block:</p>
2<div>
3	foo
4</div>
5<p>This should be a code block, though:</p>
6<pre><code>&lt;div&gt;
7	foo
8&lt;/div&gt;
9</code></pre>
10<p>As should this:</p>
11<pre><code>&lt;div&gt;foo&lt;/div&gt;
12</code></pre>
13<p>Now, nested:</p>
14<div>
15	<div>
16		<div>
17			foo
18		</div>
19	</div>
20</div>
21<p>This should just be an HTML comment:</p>
22<!-- Comment -->
23<p>Multiline:</p>
24<!--
25Blah
26Blah
27-->
28<p>Code block:</p>
29<pre><code>&lt;!-- Comment --&gt;
30</code></pre>
31<p>Just plain comment, with trailing spaces on the line:</p>
32<!-- foo -->
33<p>Code:</p>
34<pre><code>&lt;hr /&gt;
35
36</code></pre>
37<p>Hr's:</p>
38<hr>
39<hr/>
40<hr />
41<hr>
42<hr/>
43<hr />
44<hr class="foo" id="bar" />
45<hr class="foo" id="bar"/>
46<hr class="foo" id="bar" >
47