#36944: Truncator's docstring state that `MAX_LENGTH_HTML` is enforced but is
not,
also `truncatechars_html` and `truncatewords_html` should be corrected
-------------------------------------+-------------------------------------
Reporter: Natalia | Owner: Natalia Bidart
Bidart |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 6.0
Documentation |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
`Truncator.MAX_LENGTH_HTML` is set to 5,000,000 characters and this limit
was used to limit the input size for processing. After
[https://github.com/django/django/commit/6ee37ada3241ed263d8d1c2901b030d964cbd161
a refactor], this limit is no longer enforced so the docs for
`truncatechars_html` and `truncatewords_html` should be corrected.
--
Ticket URL: <https://code.djangoproject.com/ticket/36944>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019c8f8ab6c2-810fdb38-108c-4da8-a16e-fe3962777f81-000000%40eu-central-1.amazonses.com.