Skip to content

Antlers tag is rendered in bard code block #3631

@nckrtl

Description

@nckrtl

I was writing something about SEO Pro on my blog and I noticed the {{seo_pro:meta}} tag gets rendered on the page when I have it in a code block in bard content. Other antlers tags are not being rendered, as expected.

Also a preceding @ doesn't work. Example bard content in a code block:

{{# base.antlers.html #}}

{{ if environment != 'local' }}
  {{ seo_pro:meta }} <-- gets rendered
{{ /if }}

Expected behaviour would be to not render any tag when its in a code block. Is there any way to prevent this from happening?

Thanks, Nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions