Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Unable to access filters with special characters from templates #10054

Closed
@thirtyseven

Description

@thirtyseven

At HEAD, it is not possible to access filters with "." or "-" characters in their names from templates. The filter parsing will stop at the first non-alpha character and the compiler will try to look for a filter with that name.

i.e., {{foo|bar.baz}} will have the compiler look for a filter named bar instead of bar.baz.

The filter can still be accessed with the $filter service.

I'm working on a unit test for this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions