Skip to content

[7.x] Reintroduce parser error for mixed pipe/shorthand modifier syntax #15074

Description

@marcorieser

#14892 threw a parser error when a tag mixed pipe (|) and shorthand key=value modifier syntax, fixing #13080. Reverted in #15073 — it broke previously working syntax like {{ last_modified | format="U" }}, a breaking change for a minor release.

Mixing both styles is always invalid and should always throw, e.g.:

{{ active_platforms | sort="value" }}
    ...
{{ /active_platforms }}
{{ last_modified | format="U" }}

Tasks:

Related: #13080, #14892, #15073

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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