mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 09:48:30 -05:00
Make syntax highlighting (Albino, Pygmentize) not break on UTF-8 in code.
Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
@@ -56,7 +56,7 @@ class Albino
|
||||
|
||||
def initialize(target, lexer = :text, format = :html)
|
||||
@target = File.exists?(target) ? File.read(target) : target rescue target
|
||||
@options = { :l => lexer, :f => format }
|
||||
@options = { :l => lexer, :f => format, :O => 'encoding=utf-8' }
|
||||
end
|
||||
|
||||
def execute(command)
|
||||
|
||||
Reference in New Issue
Block a user