mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-16 12:05:30 +09:00
Fix #362, update code with upstream
This commit is contained in:
1 parent
b765229a6d
commit
97a373f5e7
3 files changed
+387
-107
No files matched your search
@@ -39,7 +39,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", ".mkd":
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user