Syntax highlight of characters in scheme code is buggy #8232

Closed
opened 2025-11-02 07:58:53 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @msklywenn on GitHub (Dec 10, 2021).

Gitea Version

1.15.7

Git Version

2.30.2

Operating System

Debian

How are you running Gitea?

I download gitea from the github releases and just run it from a systemd service.

Database

MySQL

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

Characters are not highlighted properly in scheme code.
image
As can be seen on this screenshot taken from gitea demo site, #(, #[, #< and #{ should be displayed as one color, not seemingly random colors.

Screenshots

No response

Originally created by @msklywenn on GitHub (Dec 10, 2021). ### Gitea Version 1.15.7 ### Git Version 2.30.2 ### Operating System Debian ### How are you running Gitea? I download gitea from the github releases and just run it from a systemd service. ### Database MySQL ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Description Characters are not highlighted properly in scheme code. ![image](https://user-images.githubusercontent.com/1546678/145561609-dfe6d51f-e18d-4a83-b289-a199103d44cf.png) As can be seen on this screenshot taken from gitea demo site, #\(, #\[, #\< and #\{ should be displayed as one color, not seemingly random colors. ### Screenshots _No response_
GiteaMirror added the type/upstream label 2025-11-02 07:58:53 -06:00
Author
Owner

@silverwind commented on GitHub (Dec 11, 2021):

Needs to be fixed in https://github.com/alecthomas/chroma.

@silverwind commented on GitHub (Dec 11, 2021): Needs to be fixed in https://github.com/alecthomas/chroma.
Author
Owner

@msklywenn commented on GitHub (Dec 13, 2021):

Thanks for the info. I created a PR on their repo : https://github.com/alecthomas/chroma/pull/582

@msklywenn commented on GitHub (Dec 13, 2021): Thanks for the info. I created a PR on their repo : https://github.com/alecthomas/chroma/pull/582
Author
Owner

@msklywenn commented on GitHub (Mar 30, 2022):

This has been fixed when chroma v0.10.0 was integrated. Thank you :)

@msklywenn commented on GitHub (Mar 30, 2022): This has been fixed when chroma v0.10.0 was integrated. Thank you :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8232