This commit is contained in:
slene committed 2014-03-20 21:11:48 +08:00
1 parent de956c4776
commit 47234f1031
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ func isLink(link []byte) bool {
func IsMarkdownFile(name string) bool {
name = strings.ToLower(name)
switch filepath.Ext(name) {
case "md", "markdown", "mdown":
case ".md", ".markdown", ".mdown":
return true
}
return false