HTML diff view is a bit broken

I know it’s an old thread. But I think this issue hasn’t been resolved yet. And it’s not just the HTML diff. This is from my topic:

As you can see, I just added a new line after the image (hence that ins I guess). But three lines are highlighted which seems unnecessary. The same is true if I delete an empty line; I’ll get a del.