#31203: Using Markup in ValidationError.
------------------------------+--------------------------------------
Reporter: Felipe | Owner: nobody
Type: Bug | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by felixxm):
* owner: (none) => nobody
* resolution: => wontfix
* status: new => closed
* component: Error reporting => Core (Other)
Comment:
Thanks for this ticket, however `ValidationError` didn't respect
`SafeString` when `params` was used even in Django < 2.0 (see #24639).
Without `params` it preserves safeness of
`django.utils.safestring.SafeString` in Django 1.11+, e.g.
{{{
ValidationError(message=SafeString('<span>sth</span> had a problem'))
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31203#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.72fa0c965719a7ceed52112b4c9da1ce%40djangoproject.com.