diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-29 16:41:57 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-05-30 11:32:55 +0200 |
commit | 9e904d756be02ca30e4cd9abb1eae8ba01f9c8af (patch) | |
tree | 8771585a9031e37f8ee16044b507af5eb7506083 /hugolib/content_map_page.go | |
parent | d2cfaede5be420c7d8b701d97b98bc61b87e46d5 (diff) |
Make .RenderString render shortcodes
Fixes #6703
Diffstat (limited to 'hugolib/content_map_page.go')
-rw-r--r-- | hugolib/content_map_page.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/content_map_page.go b/hugolib/content_map_page.go index a16e4720d..c6522809e 100644 --- a/hugolib/content_map_page.go +++ b/hugolib/content_map_page.go @@ -163,7 +163,7 @@ func (m *pageMap) newPageFromContentNode(n *contentNode, parentBucket *pagesMapB }, } - ps.shortcodeState = newShortcodeHandler(ps, ps.s, nil) + ps.shortcodeState = newShortcodeHandler(ps, ps.s) if err := ps.mapContent(parentBucket, metaProvider); err != nil { return nil, ps.wrapError(err) |