{{{
{{ some_list|escapeseq|join:"," }}
}}}
where each item of `some_list` is escaped before applying the join
operation. This usage makes sense in a context where `autoescape` is
`off`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34577>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:1>
* easy: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:2>
* owner: nobody => tuxo
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:3>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16877 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:4>
* needs_better_patch: 0 => 1
Comment:
Per David's comments.
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:5>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"061a8a1bd818ca2c8a6493f33cae2379e34e181f" 061a8a1b]:
{{{
#!CommitTicketReference repository=""
revision="061a8a1bd818ca2c8a6493f33cae2379e34e181f"
Fixed #34577 -- Added escapeseq template filter.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"881cc139e2d53cc1d3ccea7f38faa960f9e56597" 881cc13]:
{{{
#!CommitTicketReference repository=""
revision="881cc139e2d53cc1d3ccea7f38faa960f9e56597"
Refs #34574, Refs #34577 -- Mentioned escapeseq filter in
escape/autoescape docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34577#comment:8>