#34595: `format_html` should explicitely mention rgar `format_string` is not
escaped
------------------------------------------------+------------------------
Reporter: Natalia Bidart | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
The docs for `format_html` mention that `args` and `kwargs` are escaped
but it does not say anything about `format_string` (which is, in fact, not
escaped). Readers could benefit from this clarification to avoid putting
unsafe content in `format_string`.
--
Ticket URL: <https://code.djangoproject.com/ticket/34595>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.