diff --git a/lib/redmine/syntax_highlighting.rb b/lib/redmine/syntax_highlighting.rb index b5785f837..9ae5fed44 100644 --- a/lib/redmine/syntax_highlighting.rb +++ b/lib/redmine/syntax_highlighting.rb @@ -125,6 +125,7 @@ module Redmine 'java_script' => 'javascript', 'xhtml' => 'html' } + private_constant :LANG_ALIASES def find_lexer(language) ::Rouge::Lexer.find(language) ||