From 844cc615e4631902c9508381e2988047048b906c Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Sun, 6 Oct 2013 15:55:16 -0400 Subject: [PATCH] actually downcase lexer --- lib/jekyll/tags/highlight.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/tags/highlight.rb b/lib/jekyll/tags/highlight.rb index 687ef8c8..2ea144df 100644 --- a/lib/jekyll/tags/highlight.rb +++ b/lib/jekyll/tags/highlight.rb @@ -13,8 +13,8 @@ module Jekyll def initialize(tag_name, markup, tokens) super - if markup.downcase.strip =~ SYNTAX - @lang = $1 + if markup.strip =~ SYNTAX + @lang = $1.downcase @options = {} if defined?($2) && $2 != '' $2.split.each do |opt|