Skip to content

Commit d41a9e1

Browse files
committed
Case-insensitive on just markdown
1 parent 1c1c086 commit d41a9e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/github/markup/implementation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def match?(filename)
2121

2222
private
2323
def file_ext_regexp
24-
@file_ext_regexp ||= /\.(#{regexp})\z/i
24+
@file_ext_regexp ||= /\.(#{regexp})\z/
2525
end
2626
end
2727
end

lib/github/markup/markdown.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Markdown < Implementation
2525
}
2626

2727
def initialize
28-
super(/md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/)
28+
super(/md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee/i)
2929
end
3030

3131
def load

0 commit comments

Comments
 (0)