Skip to content

Fix Pygments 500 error if lexer not found by name

Created by: Razer6

In case of lexer is not found by name GitLab throws a 500 error. Use first alias of lexer to for highlighting.

This fixes if user wants to format some bash commands like

```cmd
test
 .```

Merge request reports