summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode.go
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2015-03-06 14:56:44 +0100
committerbep <bjorn.erik.pedersen@gmail.com>2015-03-06 15:25:19 +0100
commit103ea842f820492b88af370e248613c051c96eac (patch)
treec0e59bee85f61f4f498ef2dbcc6bdf9dfe5f9715 /hugolib/shortcode.go
parentc4c19ad303cb11616a7291bdbeec997e59b6d24e (diff)
Fix errors reported by Go Vet
Diffstat (limited to 'hugolib/shortcode.go')
-rw-r--r--hugolib/shortcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go
index 08a48d98b..f1be54e2a 100644
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -201,7 +201,7 @@ func renderShortcode(sc shortcode, p *Page, t tpl.Template) string {
}
if sc.doMarkup {
- newInner := helpers.RenderBytes(helpers.RenderingContext{
+ newInner := helpers.RenderBytes(&helpers.RenderingContext{
Content: []byte(inner), PageFmt: p.guessMarkupType(),
DocumentId: p.UniqueId(), Config: p.getRenderingConfig()})