Opened 17 years ago

Closed 17 years ago

#6206 closed (duplicate)

escaping help_text

Reported by: sairus.nvkz@… 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 ''))

Change History (1)

comment:1 by Chris Beaven, 17 years ago

Resolution: duplicate
Status: newclosed

Dupe of #6041

Note: See TracTickets for help on using tickets.
Back to Top