1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-12 11:38:00 -05:00
forgejo/modules/highlight
Gusted 7aeb1ba1d5
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
2024-11-27 17:57:02 +01:00
..
highlight.go fix: normalize guessed languages from enry 2024-11-27 17:57:02 +01:00
highlight_test.go fix: normalize guessed languages from enry 2024-11-27 17:57:02 +01:00