mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -436,7 +436,7 @@ func (p *pageContentOutput) initRenderHooks() error {
|
||||
|
||||
switch v := ctx.(type) {
|
||||
case hooks.CodeblockContext:
|
||||
offset = bytes.Index(p.p.source.parsed.Input(), []byte(v.Code()))
|
||||
offset = bytes.Index(p.p.source.parsed.Input(), []byte(v.Inner()))
|
||||
}
|
||||
|
||||
pos := p.p.posFromInput(p.p.source.parsed.Input(), offset)
|
||||
|
Reference in New Issue
Block a user