#30700: templatetag truncatechars_html breaks HTML entities
-------------------------------+--------------------------------------
Reporter: John Carter | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by John Carter:
Old description:
> truncatechars_html doesn't handle HTML entities, so produces output like
> `&#…`
>
> See failing test here: https://github.com/django/django/pull/11660
>
> See also - #20568
New description:
truncatechars_html doesn't handle HTML entities, so produces output like
`&#…`
See failing test here: https://github.com/django/django/pull/11660
eg: https://djangoci.com/job/pull-requests-bionic/database=mysql,label
=bionic-
pr,python=python3.7/1305/testReport/junit/template_tests.filter_tests.test_truncatechars_html/FunctionTests/test_truncate_on_name_entity/
See also - #20568
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30700#comment:3>
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/071.68e74501879d0972fb9dd8f16d23d47b%40djangoproject.com.