summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-07 05:57:19 -0400
committerUnknwon <u@gogs.io>2015-09-07 05:57:19 -0400
commit645d4d0c5bd283003d922400232bcff0f5bf8836 (patch)
tree35b8ca5b5a4ebd028529754791d733341626ae89 /modules
parent232c22208c6ba1ad374352152e0900d895fcbe56 (diff)
downloadgitea-645d4d0c5bd283003d922400232bcff0f5bf8836.tar.gz
gitea-645d4d0c5bd283003d922400232bcff0f5bf8836.zip
#1594 Collaborative Repositories missing suburl on Dashboard
Diffstat (limited to 'modules')
-rw-r--r--modules/base/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/template.go b/modules/base/template.go
index f86a97b3b2..6fc449a6a6 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -77,7 +77,7 @@ func ToUtf8WithErr(content []byte) (error, string) {
encoding, _ := charset.Lookup(charsetLabel)
if encoding == nil {
- return fmt.Errorf("unknow char decoder %s", charsetLabel), string(content)
+ return fmt.Errorf("unknown char decoder %s", charsetLabel), string(content)
}
result, n, err := transform.String(encoding.NewDecoder(), string(content))