Use downcase.
This commit is contained in:
parent
c70350e275
commit
a206dc1a8f
|
@ -9,7 +9,7 @@ module Jekyll
|
||||||
def setup
|
def setup
|
||||||
return if @setup
|
return if @setup
|
||||||
@parser =
|
@parser =
|
||||||
case @config['markdown']
|
case @config['markdown'].downcase
|
||||||
when 'redcarpet' then RedcarpetParser.new(@config)
|
when 'redcarpet' then RedcarpetParser.new(@config)
|
||||||
when 'kramdown' then KramdownParser.new(@config)
|
when 'kramdown' then KramdownParser.new(@config)
|
||||||
when 'rdiscount' then RDiscountParser.new(@config)
|
when 'rdiscount' then RDiscountParser.new(@config)
|
||||||
|
|
Loading…
Reference in New Issue