forked from kevadesu/forgejo
Custom URL-Schemas for Markdown
This commit is contained in:
parent
ab0ba4bbae
commit
3a9fd81f59
4 changed files with 6 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue