summaryrefslogtreecommitdiffstats
path: root/modules/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates')
-rw-r--r--modules/templates/helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 51877f8039..235b649547 100644
--- a/modules/templates/helper.go
+++ b/modules/templates/helper.go
@@ -164,7 +164,7 @@ func Safe(raw string) template.HTML {
// Str2html render Markdown text to HTML
func Str2html(raw string) template.HTML {
- return template.HTML(markdown.Sanitizer.Sanitize(raw))
+ return template.HTML(markdown.Sanitize(raw))
}
// List traversings the list