Parent post generates mis-nested HTML. There's an <li> with intervening </code></pre><br /><a></a> before the </li>.

On the bright side, my "fall back to Markdown when HTML can't be parsed" logic works!