See http://parsoid.wmflabs.org/mw/User:Catrope/Syntax
The Parsoid rendering of <syntaxhighlight>...</syntaxhighlight> looks something like:
<div typeof="mw:Extension/syntaxhighlight" about="#mwt3">
content here
</div><span about="#mwt3">
</span>
StoneBird (GSoC student) found this bug in syntaxhighlight and he and Trevor banged their heads against the wall for a while. Jiabao (other GSoC student) had the same issue with <math> and figured it out on her own.
In general, Parsoid shouldn't wrap inter-element whitespace in about-grouped spans, because VE is able to deal with IEW within about groups.
Version: unspecified
Severity: normal