#25872: Title attribute for related widget links lacks escaping (and breaks
html)
---------------------------------+------------------------------------
Reporter: a1tus | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.8
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by a1tus):
There're not so much places in admin that need escaping (quite easy to
wrap them all with `{% filter %}` in a few minutes). On the other hand
it's hard to say how often django developers would use it.
I use translations quite rare in my work but anyway I think this `escape`
attribute would be useful and will improve readability. Also introducing
it can force some of us to remember about escaping our translations :)
One more thing is that it can be added, as I see, without breaking any
compatibility so I don't see any downsides.
--
Ticket URL: <https://code.djangoproject.com/ticket/25872#comment:12>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.145c0a3d10251c2e632b5614715f9f8f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.