Do not reset options when calling highlight

This commit is contained in:
Daniel van Hoesel
2013-12-31 13:44:19 +01:00
parent 23a1ae5085
commit 83a742621f
2 changed files with 10 additions and 1 deletions

View File

@@ -485,7 +485,7 @@ module Linguist
#
# Returns html String
def colorize(text, options = {})
lexer.highlight(text, options = {})
lexer.highlight(text, options)
end
# Public: Return name as String representation