#29457: Spaces between argument separator and argument in template filter generate error ---------------------------------+-------------------------------------- Reporter: oliver | Owner: oliver Type: Bug | Status: closed Component: Template system | Version: master Severity: Normal | Resolution: wontfix Keywords: | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 1 Needs tests: 1 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 ---------------------------------+-------------------------------------- Description changed by oliver:
Old 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. New description: In the template filter system, 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. -- -- Ticket URL: <https://code.djangoproject.com/ticket/29457#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.73bcb4c74aa4f101e7de6447acf60524%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.