definately fix #13
This commit is contained in:
1 parent
7ad38ca2ac
commit
cf1b563243
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -76,8 +76,8 @@ func (p Page) PrintAsHTML(w http.ResponseWriter, templates ...string) (int, erro
|
||||
// execute the template if there aren't errors
|
||||
functions := template.FuncMap{
|
||||
"Defined": variables.Defined,
|
||||
"Safe": func(s string) template.HTML {
|
||||
return template.HTML(s)
|
||||
"CSS": func(s string) template.CSS {
|
||||
return template.CSS(s)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user