mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	fix ext
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user