<link rel="mw:WikiLink/Category" href="Category:Foo" />bar
serializes to
[[Category:Foo]]<nowiki />
bar
That nowiki is totally unnecessary, obviously.
Even when you edit an existing category that has data-parsoid info causing it to not have a trailing newline, you'll get [[Category:Foo]]<nowiki />Bar. That nowiki is also not needed because categories can't have link trails.
Version: unspecified
Severity: normal