aboutsummaryrefslogtreecommitdiff
path: root/modules/template
diff options
context:
space:
mode:
Diffstat (limited to 'modules/template')
-rw-r--r--modules/template/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index 0bd5fa3f..faae266b 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -125,7 +125,7 @@ func Safe(raw string) template.HTML {
}
func Str2html(raw string) template.HTML {
- return template.HTML(markup.Sanitizer.Sanitize(raw))
+ return template.HTML(markup.Sanitize(raw))
}
func List(l *list.List) chan interface{} {