When Parsoid encounters nowikis and entities, it wraps them in a span. However when these entities and nowikis show up in attributes of HTML elements, they pretty much break the HTML element.
Couple examples are:
https://phabricator.wikimedia.org/T69850#736117 (entity inside a <td> attribute)
and
https://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Infobox/Ligne_mixte&action=edit (nowiki inside a <th> attribute)
This breaks the rendering (and editability of pages that use such wikitext).