mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-19 16:25:05 +09: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