diff --git a/gogs.go b/gogs.go index 7cf99ee67..97d221466 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogits/gogs/pkg/setting" ) -const APP_VER = "0.11.18.0608" +const APP_VER = "0.11.19.0609" func init() { setting.AppVer = APP_VER diff --git a/routers/repo/view.go b/routers/repo/view.go index a4096ff96..1ea25d51f 100644 --- a/routers/repo/view.go +++ b/routers/repo/view.go @@ -186,7 +186,7 @@ func renderFile(c *context.Context, entry *git.TreeEntry, treeLink, rawLink stri var output bytes.Buffer lines := strings.Split(fileContent, "\n") for index, line := range lines { - output.WriteString(fmt.Sprintf(`