summaryrefslogtreecommitdiffstats
path: root/modules/base/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base/template.go')
-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)
}