Fix unexpected rendering of README when it is not in Markdown

This patch also handles case when a file name looks like README
but is not a text file (e.g. image, PDF).
This commit is contained in:
Unknwon
2017-01-25 07:10:52 -05:00
parent d1c327d508
commit 8cb903fbbb
10 changed files with 28 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.116.0124"
const APP_VER = "0.9.117.0125"
func init() {
setting.AppVer = APP_VER