force markdown regexp to match the full extension
This commit is contained in:
parent
d250efccb9
commit
e546eb3e9f
|
@ -48,7 +48,7 @@ module Jekyll
|
|||
|
||||
def extname_matches_regexp
|
||||
@extname_matches_regexp ||= Regexp.new(
|
||||
'(' + @config['markdown_ext'].gsub(',','|') +')$',
|
||||
'^\.(' + @config['markdown_ext'].gsub(',','|') +')$',
|
||||
Regexp::IGNORECASE
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue