Skip to content

Can't render Antlers in content #1798

@edalzell

Description

@edalzell

Bug Description

I have the following in a nav structure:

    title: '© {{ misc:organization_name }}. All Rights Reserved.'

In my template I have this:

{{ title }}

Which outputs:
image
If I do this instead: {{ title }}{{ misc:organization_name }}, I get:
image

How to Reproduce

  1. Create a global with some data.
  2. Create a Nav item whose title references the above global
  3. In a template, reference the nav and that item's title

Environment

Statamic version: 3.0.0-beta-28

PHP version: 7.4

Install method (choose one):

  • Fresh install from statamic/statamic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions