#25529: Cannot use filters for plain text templates due to non-breaking spaces
between values and units
---------------------------------+---------------------
Reporter: quantoid | Owner: nobody
Type: New feature | Status: new
Component: Template system | Version: 1.8
Severity: Normal | Keywords: filters
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+---------------------
#20246 added `\xa0` characters between numbers and units in various
filters like `timesince`.
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.
--
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/051.43e758700649402819162148bdcab4f3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.