SyntaxHighlight seems to use some attributes in bare form, <syntaxhighlight lang="bash" inline>...</syntaxhighlight>. Parsoid will not roundtrip these forms in non-selser modes and will always emit <syntaxhighlight lang="bash" inline="">...</syntaxhighlight>.
It might be worth it to deprecate the usage of the bare attribute form (maybe via linter or a tracking category) and encourage a transition to the XML syntactic form to encourage consistent syntax for all XML-like tags.