Skip to content

Didn't works with ??? operator #95

@davidhellmann

Description

@davidhellmann

Hey,

great plugin but it looks like it has problems with the ??? Operator.
It's an extension: https://plugins.craftcms.com/empty-coalesce but maybe you can add it.
If one of this Operators in the file there is no formatting at all. If I switch to ?? Operator it works fine again.

WORKS

{{ include('_builders/_builderContent.twig', {
        props: {
          blocks: entry.contentBuilder ?? null
        }
      }, withContext = false) }}

WORKS NOT

{{ include('_builders/_builderContent.twig', {
        props: {
          blocks: entry.contentBuilder ??? null
        }
      }, withContext = false) }}

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