basalt-rs/basalt

Submission history does not use correct syntax highlighting

Open

#58 opened on May 6, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (3 forks)auto 404
buggood first issue

Repository metrics

Stars
 (4 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug When opening the submission history to a submission that used some language other than Java, i.e., Python, the file is still highlighted as Java. The submission history should use the language specified by the submission.

To Reproduce

  1. Create submission using Python
  2. Open submission history
  3. See that the file uses Java syntax highlighting

Expected behavior Submission history syntax highlighting should be the same as the language used in the submission.

Screenshots

Image

Contributor guide