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

View File

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