mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Fix errors reported by Go Vet
This commit is contained in:
@@ -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()})
|
||||
|
||||
|
Reference in New Issue
Block a user