When input ends inside a code fence that lives in a list entry, mark unwinds the container frames BEFORE closing the fence (MARK.c:730-732): - item\n ``\n code renders <li>item<pre><code> code\n</li>\n</ul>\n</code></pre> — real </li>/</ul> tags land INSIDE <pre><code> (shown verbatim as text is the least of it; the document tree is misnested). From the 2026-07-07 mark/ diagnostic review, orchestrator-verified by probe. Method Issues.
</code></pre>) before any container unwind; nesting is well-formed for every truncated input.