Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6061 closed (fixed)

escape help_text in admin

Reported by: baumer1122 Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: escape safe help_text
Cc: sgt.hulka@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

help_text is not escaped in admin

attaching a patch against trunk

Attachments (1)

patch.diff (712 bytes) - added by baumer1122 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by baumer1122

comment:1 Changed 8 years ago by mtredinnick

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Your bug report and patch don't match up. Do you mean that help text is being escaped when it shouldn't be? I guess so. Certainly help_text shouldn't be escaped when inserted, so the patch is correct.

comment:2 Changed 8 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [6781]) Fixed #6061 -- Don't escape help_text in the admin interface (so that it
behaves as documented). Thanks, baumer.

comment:3 Changed 8 years ago by baumer1122

Yes, sorry.

help_text was being auto-escaped. This trivial patch prevents it from being escaped.

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