Skip to content

Nested Conditional Context Shorthand Statements Cause Unexpected Errors #159

@teliosdev

Description

@teliosdev

What a mouthful. This is what it boils down to:

{{# user:admin? }}
  The user {{ user:name }} is an admin!
{{/ user:admin? }}

Is an error. Instead, curly expects this:

{{# user:admin? }}
  The user {{ name }} is an admin!
{{/ user:admin? }}

That is, while inside of the conditional block, the contextual block was entered - meaning all components are resolved against the user contextual block, which is not the desired behavior.

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