Closed
Description
Gitea Version
Git Version
? idk, saw it on gitea.com
Operating System
linux
How are you running Gitea?
gitea.com
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
Edits of more complex comments get quite strange diffs. I got diffs that didn't touch the single line that was edited, but show two other lines as changed (I'll try to come up with a more minimal reproducer later)
An edit like the following worked fine though.
foo
-baz
+bar
bar
It seems this feature needs more testing with longer comments / more complex edits.
Screenshots
I don't know what the actual edit was, but certainly not this: