diff options
author | slene <vslene@gmail.com> | 2014-03-20 21:11:48 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-20 21:11:48 +0800 |
commit | 47234f1031b35dfc6b3a20223d5dd61db2decda1 (patch) | |
tree | 53fbcb257532b92e27f5452e0bf6c9dc8150198a /modules | |
parent | de956c477684f66a9e27ad895efbebae1837b2b1 (diff) | |
download | gitea-47234f1031b35dfc6b3a20223d5dd61db2decda1.tar.gz gitea-47234f1031b35dfc6b3a20223d5dd61db2decda1.zip |
fix ext
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base/markdown.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/markdown.go b/modules/base/markdown.go index e49e111c0e..2273cd772f 100644 --- a/modules/base/markdown.go +++ b/modules/base/markdown.go @@ -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 |