1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

fix email with + when active (#17518) (#17520)

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
Lunny Xiao
2021-11-03 06:52:38 +08:00
committed by GitHub
parent 9340269d84
commit f572fb906f
2 changed files with 3 additions and 1 deletions

View File

@@ -390,6 +390,7 @@ func NewFuncMap() []template.FuncMap {
html += "</span>"
return template.HTML(html)
},
"QueryEscape": url.QueryEscape,
}}
}
@@ -510,6 +511,7 @@ func NewTextFuncMap() []texttmpl.FuncMap {
}
return sum
},
"QueryEscape": url.QueryEscape,
}}
}