summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
committerUnknwon <u@gogs.io>2015-09-06 16:31:22 -0400
commit85f34ba53843177999cb98bad046e9cce22bfc8f (patch)
treef1f7ca6d3b0fc4848216becd9bc2a25e019cb12e /modules/base
parent00767a0522606cd504d81d35fa1d9e9c1e34610c (diff)
downloadgitea-85f34ba53843177999cb98bad046e9cce22bfc8f.tar.gz
gitea-85f34ba53843177999cb98bad046e9cce22bfc8f.zip
new user profile settings UI
Signed-off-by: Unknwon <u@gogs.io>
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/template.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/base/template.go b/modules/base/template.go
index 7875010ddf..f86a97b3b2 100644
--- a/modules/base/template.go
+++ b/modules/base/template.go
@@ -76,7 +76,6 @@ func ToUtf8WithErr(content []byte) (error, string) {
}
encoding, _ := charset.Lookup(charsetLabel)
-
if encoding == nil {
return fmt.Errorf("unknow char decoder %s", charsetLabel), string(content)
}