downcase lexers before passing to Pygments
This commit is contained in:
parent
41adc30667
commit
d5f137bc86
|
@ -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 != ''
|
||||||
|
|
Loading…
Reference in New Issue