mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
Fix #362, update code with upstream
This commit is contained in:
@ -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