mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Preserve new lines for syntax highlighting
This commit is contained in:
@@ -141,7 +141,7 @@ module Linguist
|
||||
#
|
||||
# Returns html String
|
||||
def colorize(text)
|
||||
Albino.colorize(text, self)
|
||||
Albino.new(text, self).colorize(:O => 'stripnl=false')
|
||||
end
|
||||
|
||||
# Public: Highlight syntax of text without the outer highlight div
|
||||
|
||||
Reference in New Issue
Block a user