#31037: Template truncatechars dots missing
-------------------------------------------+-------------------------------
Reporter: 老广 | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 2.2
Severity: Normal | Keywords: truncatechars
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+-------------------------------
Django 2.1.14 work fine, version 2.2.x has bug
{{ "Hello Django" | truncatechars:10 }}
Django 2.1.x output: Hello D...
Django 2.2.x output: Hello Djan
But the doc match the first case
https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#truncatechars
--
Ticket URL: <https://code.djangoproject.com/ticket/31037>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.93fbdb172f2d1a8aff131cf2f045fe3f%40djangoproject.com.