summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
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))