mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Custom URL-Schemas for Markdown
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.Sanitizer.Sanitize(raw))
|
||||
return template.HTML(base.BuildSanitizer().Sanitize(raw))
|
||||
}
|
||||
|
||||
func Range(l int) []int {
|
||||
|
Reference in New Issue
Block a user