Please, add some parser tests to ensure that Parsoid interprets the wiki markup
;A :B<syntaxhighlight lang="CSS"> .test { color: red; } </syntaxhighlight>
as having 'an element <dd> which contains "B" and the highlighted code', instead of what the current parser does:
https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=1075316&action=edit&preview=yes
Here is a comparison of the wiki markup and HTML markup with the current parser:
https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=1075311
And here is the same kind of problem with <pre> tags instead of <syntaxhighlight>:
https://www.mediawiki.org/w/index.php?title=Project:Sandbox&oldid=1075317&action=edit&preview=yes
The current parser converts the code
;A :B<pre>first line second line</pre>
to
<dl> <dt>A</dt> <dd>B <pre>first line </pre></dd> </dl> <p>second line</p>
but it should be converted to
<dl> <dt>A</dt> <dd>B <pre>first line second line </pre></dd> </dl>
as Parsoid does:
http://parsoid-lb.eqiad.wikimedia.org/mediawikiwiki/Project:Sandbox?oldid=1075317