Expanded diff sections have odd syntax highlighing #14854

Open
opened 2025-11-02 11:24:30 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @silverwind on GitHub (Aug 11, 2025).

Example: bbc33fd7e7

Image

The JSON keys here have incorrect syntax class s2, should have nt. So far I only have seen this problem in JSON. Other languages like go worked fine.

Tested on main branch and issue is there as well.

Originally created by @silverwind on GitHub (Aug 11, 2025). Example: https://gitea.com/gitea/blog/commit/bbc33fd7e7abea738fc23d3174bb6b20d08ab943 <img width="606" height="265" alt="Image" src="https://github.com/user-attachments/assets/beb47a23-b4ec-4351-bf03-f1305ff392a2" /> The JSON keys here have incorrect syntax class `s2`, should have `nt`. So far I only have seen this problem in JSON. Other languages like go worked fine. Tested on main branch and issue is there as well.
GiteaMirror added the topic/uitype/bug labels 2025-11-02 11:24:30 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14854