mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08: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