diff --git a/cmd/init.go b/cmd/init.go index 181411d6..831812f9 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -586,6 +586,9 @@ func initNotifTemplates(path string, fs stuffbin.FileSystem, i *i18n.I18n, cs *c "L": func() *i18n.I18n { return i }, + "Safe": func(safeHTML string) template.HTML { + return template.HTML(safeHTML) + }, } tpls, err := stuffbin.ParseTemplatesGlob(funcs, fs, "/static/email-templates/*.html")