downcase lexers before passing to Pygments

This commit is contained in:
Ben Balter 2013-10-05 11:26:26 -04:00
parent 41adc30667
commit d5f137bc86
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ module Jekyll
def initialize(tag_name, markup, tokens) def initialize(tag_name, markup, tokens)
super super
if markup.strip =~ SYNTAX if markup.downcase.strip =~ SYNTAX
@lang = $1 @lang = $1
@options = {} @options = {}
if defined?($2) && $2 != '' if defined?($2) && $2 != ''