actually downcase lexer

This commit is contained in:
Ben Balter 2013-10-06 15:55:16 -04:00
parent d5f137bc86
commit 844cc615e4
1 changed files with 2 additions and 2 deletions

View File

@ -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|