This has been occurring for some time, random spaces get added sometimes also when there is no space and you edit a suggestion for a minor typo
@TheAnKing what does the View HTML button show in the AnkiHub editor? If I put the Text field’s HTML as seen in the source view of the diff in a field (whether in Anki or AnkiHub) I get the same result as in your first screenshot.
The issue is that AnkiHub is removing
<br> tags from the diffs.