diff options
Diffstat (limited to 'hugolib/page__content.go')
-rw-r--r-- | hugolib/page__content.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page__content.go b/hugolib/page__content.go index 54f7be961..799fc89b6 100644 --- a/hugolib/page__content.go +++ b/hugolib/page__content.go @@ -778,7 +778,7 @@ func (c *cachedContent) contentPlain(ctx context.Context, cp *pageContentOutput) if err != nil { return nil, err } - html := cp.po.p.s.ContentSpec.TrimShortHTML(b.Bytes()) + html := cp.po.p.s.ContentSpec.TrimShortHTML(b.Bytes(), cp.po.p.m.pageConfig.Markup) result.summary = helpers.BytesToHTML(html) } else { var summary string |