Custom URL-Schemas for Markdown

This commit is contained in:
Kim "BKC" Carlbäcker 2016-01-14 07:20:03 +01:00
parent ab0ba4bbae
commit 3a9fd81f59
4 changed files with 6 additions and 10 deletions

View file

@ -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 {