aboutsummaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/tool.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index fa5202366a..b9a97c9c3d 100644
--- a/modules/base/tool.go
+++ b/modules/base/tool.go
@@ -29,7 +29,6 @@ import (
var Sanitizer = bluemonday.UGCPolicy().AllowAttrs("class").Matching(regexp.MustCompile(`[\p{L}\p{N}\s\-_',:\[\]!\./\\\(\)&]*`)).OnElements("code")
-
// Encode string to md5 hex value.
func EncodeMd5(str string) string {
m := md5.New()