-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/bug
Description
Description
When viewing the Diff of a .sql file (either from commit or PR ) some lines of the script that contains actual sql code (instead of comment) are highlighted as comment and sometimes also renders comments as actual code
Behavior of the render differs between the normal diff, the expanded diff code and the preview diff during edit from web (multiline comment is rendered different between commit diff and preview diff)
It could be a leftover from #33358
I am able to reproduce in the Gitea demo instance.
Repository used for testing: https://demo.gitea.com/JpMand/idea-plugin-demo-repo
Gitea Version
1.25.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
No response
Operating System
No response
How are you running Gitea?
I'm using https://demo.gitea.com
Database
None
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtopic/uiChange the appearance of the Gitea UIChange the appearance of the Gitea UItype/bug