Describe the bug
When a suggested edit is made, its diff shows every paragraph highlighted in red on the left and green on the right, as if every paragraph had been changed. If the suggested edit is approved, the same problem shows in the post history. Edits made directly (not involving a suggested edit) still show correct diffs, with only changed paragraphs having highlighting.
To Reproduce
Steps to reproduce the behavior:
- Suggest an edit.
- Go to the Edits page and choose your suggested edit.
- See a broken diff.
- Have the suggested edit approved.
- Go to the post history.
- See the same broken diff.
Expected behavior
Only changed paragraphs should have highlighting.
Screenshots
Additional context
This may be related to #2119 normalising newlines. Is this creating a difference between before and after for every newline in the post, but only for suggested edits and not direct edits?
Describe the bug
When a suggested edit is made, its diff shows every paragraph highlighted in red on the left and green on the right, as if every paragraph had been changed. If the suggested edit is approved, the same problem shows in the post history. Edits made directly (not involving a suggested edit) still show correct diffs, with only changed paragraphs having highlighting.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only changed paragraphs should have highlighting.
Screenshots
Additional context
This may be related to #2119 normalising newlines. Is this creating a difference between before and after for every newline in the post, but only for suggested edits and not direct edits?