From d5f137bc867b0801538403241bf8544689ee614a Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Sat, 5 Oct 2013 11:26:26 -0400 Subject: [PATCH] downcase lexers before passing to Pygments --- lib/jekyll/tags/highlight.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb index e8059edb..687ef8c8 100644 --- a/lib/jekyll/tags/highlight.rb +++ b/lib/jekyll/tags/highlight.rb @@ -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 != ''