Fix errors reported by Go Vet

This commit is contained in:
bep
2015-03-06 14:56:44 +01:00
parent c4c19ad303
commit 103ea842f8
9 changed files with 21 additions and 21 deletions

View File

@@ -835,7 +835,7 @@ func Highlight(in interface{}, lang string) template.HTML {
}
func Markdownify(text string) template.HTML {
return template.HTML(helpers.RenderBytes(helpers.RenderingContext{Content: []byte(text), PageFmt: "markdown"}))
return template.HTML(helpers.RenderBytes(&helpers.RenderingContext{Content: []byte(text), PageFmt: "markdown"}))
}
func refPage(page interface{}, ref, methodName string) template.HTML {