Skip to content

Commit

Permalink
Case-insensitive on just markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Sep 11, 2014
1 parent 1c1c086 commit d41a9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/github/markup/implementation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def match?(filename)

private
def file_ext_regexp
@file_ext_regexp ||= /\.(#{regexp})\z/i
@file_ext_regexp ||= /\.(#{regexp})\z/
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/github/markup/markdown.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Markdown < Implementation
}

def initialize
super(/md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/)
super(/md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/i)
end

def load
Expand Down

0 comments on commit d41a9e1

Please sign in to comment.