[subbu@earth parsoid] echo '{{1x|[[Foo|<code><syntaxhighlight lang="php">$x</syntaxhighlight></code>]]}}' | parse.js --normalize <p><a href="Foo" title="Foo"><code> <div> <div dir="ltr"><pre><span>$x</span></pre></div> </div> </code></a></p>
In this case, the syntaxhighlight extension produces a <div> which cannot be embedded inside a p-tag. Parsoid wraps that output in a DOM fragment and it is later unpacked into its container. But, that unpacking only handles a few mandatory content model constraints. P-in-P and DIV-in-P and other constraint that the tree builder enforces aren't being handled correctly.