Closed
Description
Description
There is a problem with colors and syntax highlighting in diff for PascalObject language (maybe other too, didn't try).
This is what the diff looks like :
As you can see, the 2 lines of comments (beginning with //) are not treated as comments.
The problem is not present in the code explorer where comments are properly detected :
Gitea Version
1.23.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
package manager (Arch) so systemD
Database
None