mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-02 13:59:48 +09:00
Not working, but slightly better...
This commit is contained in:
@@ -105,7 +105,7 @@ func Safe(raw string) template.HTML {
|
||||
}
|
||||
|
||||
func Str2html(raw string) template.HTML {
|
||||
return template.HTML(base.BuildSanitizer().Sanitize(raw))
|
||||
return template.HTML(base.Sanitizer.Sanitize(raw))
|
||||
}
|
||||
|
||||
func Range(l int) []int {
|
||||
|
||||
Reference in New Issue
Block a user