<!-- Following start tag is replacement for a missing one -->
<html>
<!-- Following start tag is replacement for a missing one -->
<head>
</head>
<!-- Preceding end tag is replacement for a missing one -->
<!-- Following start tag is replacement for a missing one -->
<body>
<p>
I am before the outer pre
</p>
<!-- Preceding end tag is replacement for a missing one -->
<!-- Inside following <pre>, an end tag is missing: <p> -->
<!-- Inside the following <pre>, there is this cruft:
</a>
-->
<!-- Inside following <pre>, an end tag is missing: <p> -->
<!-- Inside following <pre>, a start tag is missing: <tbody> -->
<!-- Inside following <pre>, a start tag is missing: <tr> -->
<!-- Inside following <pre>, a start tag is missing: <td> -->
<!-- Inside following <pre>, an end tag is missing: <td> -->
<!-- Inside following <pre>, an end tag is missing: <tr> -->
<!-- Inside following <pre>, an end tag is missing: <tbody> -->
<pre>
<p>
Now is the time
for all good birds
to fly to
the edge of the
world and take a
look over the edge</p>
<p>First unterminated graf
<p>I am flush with the left margin</p>
<p>I am before the inner pre</p>
<pre>
A pre inside a pre
<p>Second unterminated graf
<!-- The following tag should be low-level cruft -->
</a>
<p>A terminated graf after an unterminated one</p>
Flush with the left margin
<table>Inside the pre within a pre,
a very poorly formed table</table>
</pre>
</pre>
<p>
I am after the outer pre
<!--
</p>
<p>
Now is the time for all good birds
to to fly the edge of the world
and take a look over the edge
</p>
</pre>
<p>I am after the inner pre
</pre>
<p>I am after the outer pre
-->
</p>
<!-- Preceding end tag is replacement for a missing one -->
</body>
<!-- Preceding end tag is replacement for a missing one -->
</html>
<!-- Preceding end tag is replacement for a missing one -->