Re: [Django] #34595: format_html() should explicitely mention format_string is not escaped. (was: `format_html` should explicitely mention rgar `format_string` is not escaped)

2 views
Skip to first unread message

Django

unread,
May 24, 2023, 4:01:37 PM5/24/23
to django-...@googlegroups.com
#34595: format_html() should explicitely mention format_string is not escaped.
--------------------------------------+------------------------------------
Reporter: Natalia Bidart | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Template system | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* stage: Unreviewed => Accepted


Comment:

I'm not sure how `format_html()` could be useful with escaped
`format_string`, however, a little clarification won't hurt.

--
Ticket URL: <https://code.djangoproject.com/ticket/34595#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages