Opened 6 years ago

Last modified 6 years ago

#29457 closed Bug

Spaces between argument separator and argument in template filter generate error — at Initial Version

Reported by: oliver Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: yes
Needs tests: yes Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the template filter system now, spaces between augment separator and augments are not allowed.
For example, the following template code generates the following error.

{{ value | filter: "arg"}}
TemplateSyntaxError at /
Could not parse the remainder: ': "arg"' from 'value | filter: "arg"'

It would be better to allow spaces between them.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top