<html>
<body>
<p>Start</p>
<a href="foo"><img src="cthulhu-for-tests.jpg" alt="" /></a>
Before <a href="foo">Line</a> After<br>
<p>End</p>
</body>
</html>