Opened 18 years ago
Closed 18 years ago
#6206 closed (duplicate)
escaping help_text
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Forms | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
help_text in templates {{ field.help_text }} is escaping.
in file django/newforms/fields.py replace
self.help_text = smart_unicode(help_text or '')
->
self.help_text = mark_safe(smart_unicode(help_text or ''))
Note:
See TracTickets
for help on using tickets.
Dupe of #6041