lib/middleman-syntax/extension.rb in middleman-syntax-1.1.0 vs lib/middleman-syntax/extension.rb in middleman-syntax-1.1.1
- old
+ new
@@ -57,10 +57,10 @@
end
module MarkdownCodeRenderer
def block_code(code, language)
options = ::Middleman::Syntax.options
- options.merge :lexer => language if language
+ options.merge! :lexer => language if language
Pygments.highlight(code, :options => options)
end
end
end
end