Use downcase.

This commit is contained in:
Jordon Bedwell
2013-12-25 22:18:40 -06:00
committed by Parker Moore
parent c70350e275
commit a206dc1a8f

View File

@@ -9,7 +9,7 @@ module Jekyll
def setup
return if @setup
@parser =
case @config['markdown']
case @config['markdown'].downcase
when 'redcarpet' then RedcarpetParser.new(@config)
when 'kramdown' then KramdownParser.new(@config)
when 'rdiscount' then RDiscountParser.new(@config)