mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 02:34:04 +09: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