1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> 2<html> 3<head> 4<meta name="generator" content= 5"HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org"> 6<title></title> 7</head> 8<body> 9<p>Here's a simple block:</p> 10<div>foo</div> 11<p>This should be a code block, though:</p> 12<pre> 13<code><div> 14 foo 15</div> 16</code> 17</pre> 18<p>As should this:</p> 19<pre> 20<code><div>foo</div> 21</code> 22</pre> 23<p>Now, nested:</p> 24<div> 25<div> 26<div>foo</div> 27</div> 28</div> 29<p>This should just be an HTML comment:</p> 30<!-- Comment --> 31<p>Multiline:</p> 32<!-- 33Blah 34Blah 35--> 36<p>Code block:</p> 37<pre> 38<code><!-- Comment --> 39</code> 40</pre> 41<p>Just plain comment, with trailing spaces on the line:</p> 42<!-- foo --> 43<p>Code:</p> 44<pre> 45<code><hr /> 46</code> 47</pre> 48<p>Hr's:</p> 49<hr> 50<hr> 51<hr> 52<hr> 53<hr> 54<hr> 55<hr class="foo" id="bar"> 56<hr class="foo" id="bar"> 57<hr class="foo" id="bar"> 58</body> 59</html> 60