Fix output format handling for render hooks

Fixes #8176
This commit is contained in:
Bjørn Erik Pedersen
2021-03-09 10:26:44 +01:00
parent 35bfb66222
commit 18074d0c23
7 changed files with 102 additions and 24 deletions

View File

@@ -226,7 +226,7 @@ func newPageContentOutput(p *pageState, po *pageOutput) (*pageContentOutput, err
}
type renderHooks struct {
hooks *hooks.Renderers
hooks hooks.Renderers
init sync.Once
}