Closed as duplicate
Description
Description
Multi-line comments are not highlighted correctly in diff views.
Actual behaviour
Example: commit aa72e3abf9644de3c0478692d7bb357d1c7297e2 in Blender
Another example in Go, to show that it's not limited to C/C++: https://try.gitea.io/drSybren/skyfill/commit/aa87c1c50db6dfd97ab53905097e43fce3c5568e
Expected behaviour
Expected would be to see the highlighting like done when viewing the file regularly (of course with red/green background for the added/removed lines in the diff):
Gitea Version
1.19.0+dev-649-g2093ca517
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Self-built from Git
Database
PostgreSQL