diff options
Diffstat (limited to 'hugolib')
-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 31080b929..cc93fe5d5 100644 --- a/hugolib/page__content.go +++ b/hugolib/page__content.go @@ -928,7 +928,7 @@ func (c *cachedContentScope) RenderString(ctx context.Context, args ...any) (tem contentToRenderv := args[sidx] - if _, ok := contentToRenderv.(hstring.RenderedHTML); ok { + if _, ok := contentToRenderv.(hstring.HTML); ok { // This content is already rendered, this is potentially // a infinite recursion. return "", errors.New("text is already rendered, repeating it may cause infinite recursion") |