Skip to content

Commit befa83a

Browse files
authored
Merge pull request #2 from admhlt/patch-1
Options symbols seem to need to be uppercase
2 parents 395895b + d61f268 commit befa83a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/jekyll-commonmark.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ class Markdown::CommonMark
77
def initialize(config)
88
Jekyll::External.require_with_graceful_fail "commonmarker"
99
begin
10-
@options = config['commonmark']['options'].collect { |e| e.to_sym }
10+
@options = config['commonmark']['options'].collect { |e| e.upcase.to_sym }
1111
rescue NoMethodError
12-
@options = [:default]
12+
@options = [:DEFAULT]
1313
else
1414
@options.reject! do |e|
1515
unless CommonMarker::Config::Parse.keys.include? e.to_sym

0 commit comments

Comments
 (0)