forked from kevadesu/forgejo
Not working, but slightly better...
This commit is contained in:
parent
d943429672
commit
1ab8a60d73
4 changed files with 16 additions and 11 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue