forkjo/modules/highlight
Gusted c5f37b6cd8 fix: normalize guessed languages from enry
- In the case that Enry correctly recognized the language, but returns
the language name in a way that isn't recognized by enry. Although
overkill I've added a map such that new entries should be easier to add.
- Resolves #6077
- Added unit test

(cherry picked from commit 7aeb1ba1d57b6635eb5dc1bfbd1a5371656e8677)
2024-11-27 18:25:12 +00:00
..
highlight.go fix: normalize guessed languages from enry 2024-11-27 18:25:12 +00:00
highlight_test.go fix: normalize guessed languages from enry 2024-11-27 18:25:12 +00:00