mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Fix errors reported by Go Vet
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user