lib/jekyll/converters/markdown.rb in jekyll-2.5.2 vs lib/jekyll/converters/markdown.rb in jekyll-2.5.3

- old
+ new

@@ -46,10 +46,10 @@ ].map(&:to_sym) end def extname_matches_regexp @extname_matches_regexp ||= Regexp.new( - '(' + @config['markdown_ext'].gsub(',','|') +')$', + '^\.(' + @config['markdown_ext'].gsub(',','|') +')$', Regexp::IGNORECASE ) end def matches(ext)