This means you can't easily use these filters in templates that generate
plain text content, e.g. text that you want to send to another service as
part of handling a request.
We need a way to turn off those non-breaking spaces in the filters that
use them.
--
Ticket URL: <https://code.djangoproject.com/ticket/25529>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/25529#comment:1>
Comment (by claudep):
Sorry, but it's not very clear to me why you couldn't have non-breaking
spaces in plain text. Could you elaborate a bit?
--
Ticket URL: <https://code.djangoproject.com/ticket/25529#comment:2>
* status: new => closed
* resolution: => worksforme
Comment:
Please reopen if you can show your issue corresponds to a common use case.
Otherwise, I think it wouldn't be hard to create your own template filter
(`to_ascii`?) and chain with the appropriate filters (might also be
implemented by a custom response middleware).
--
Ticket URL: <https://code.djangoproject.com/ticket/25529#comment:3>