diff --git a/web/views.py b/web/views.py index c6aecd0f9..9584e7ef7 100644 --- a/web/views.py +++ b/web/views.py @@ -315,7 +315,6 @@ def get_highlighter(language): try: lexer = get_lexer_by_name(language, startinline=True) except ClassNotFound: - lexer = get_lexer_by_name(SIMILAR_LEXERS.get(language, "text"), startinline=True) return lexer