diff options
author | Unknwon <u@gogs.io> | 2015-09-10 07:53:40 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-10 07:53:40 -0400 |
commit | c8d92fad305f78f0207203b3f1ea955e0ef0309d (patch) | |
tree | 829cde73ebc9c35803716125a1eb35124383f39e /modules/base | |
parent | c3061c61a74dd6eab802fd37c085b06c761f94e7 (diff) | |
download | gitea-c8d92fad305f78f0207203b3f1ea955e0ef0309d.tar.gz gitea-c8d92fad305f78f0207203b3f1ea955e0ef0309d.zip |
#1595 pushing new branch will rereference issues in previous branch
Diffstat (limited to 'modules/base')
-rw-r--r-- | modules/base/tool.go | 1 |
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() |