mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
@@ -1871,7 +1871,7 @@ func (p *Page) SaveSource() error {
|
||||
// TODO(bep) lazy consolidate
|
||||
func (p *Page) processShortcodes() error {
|
||||
p.shortcodeState = newShortcodeHandler(p)
|
||||
tmpContent, err := p.shortcodeState.extractShortcodes(string(p.workContent), p.withoutContent())
|
||||
tmpContent, err := p.shortcodeState.extractShortcodes(p.workContent, p.withoutContent())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user