Django

Code

Ticket #6061 (closed: fixed)

Opened 10 months ago

Last modified 10 months ago

escape help_text in admin

Reported by: baumer1122 Assigned to: nobody
Milestone: Component: django.contrib.admin
Version: SVN Keywords: escape safe help_text
Cc: sgt.hulka@gmail.com Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

help_text is not escaped in admin

attaching a patch against trunk

Attachments

patch.diff (0.7 kB) - added by baumer1122 on 11/30/07 10:39:41.

Change History

11/30/07 10:39:41 changed by baumer1122

  • attachment patch.diff added.

11/30/07 13:56:27 changed by mtredinnick

  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

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.

11/30/07 13:59:13 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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

11/30/07 14:00:33 changed by baumer1122

Yes, sorry.

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


Add/Change #6061 (escape help_text in admin)




Change Properties
Action