#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.