#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 claudep):
This was discussed already AFAIR. We have currently no way to tell if the
markup from a translated string should be escaped or not, as it is
perfectly legal to mark for translation strings having HTML markup. Until
now, we simply trust translations, as if they were code. I'm open to some
strategy to change this behavior if anyone has good ideas.
Until then, the workaround is to update the translation with escaped
content.
--
Ticket URL: <https://code.djangoproject.com/ticket/25872#comment:3>
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.8c1b427d4ac529595cfec70cbd16f19d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.