#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, 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 generate error.
 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:5>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.6a0c496346d204521de822e445e3fc85%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to