#28874: Errors on hidden input fields print out double escaped HTML
---------------------------------+--------------------------------------
Reporter: Kyle Agronick | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
---------------------------------+--------------------------------------
Comment (by Daniil Ryzhkov):
I've checked Django code and it seems to be a django bug.
This
[https://github.com/django/django/blob/master/django/forms/forms.py#L207
line in django.forms.forms] breaks affect of {{{mark_safe}}}:
According to
[https://github.com/django/django/blame/fceefb4d25ab09e4884c7ead5e613bc2b63ee55f/django/forms/forms.py#L212
git blame], this issue should should be reproducible in every django
release for last 5 years:
I was able to fix this. I will write tests to cover this issue and submit
my changes as PR on github.
--
Ticket URL: <https://code.djangoproject.com/ticket/28874#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 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/066.9634b2f7157bd01a938a4d165b0bf3b1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.