Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#33419 closed Bug (fixed)

forms.Field.help_text shouldn't be HTML-escaped when form is rendered with as_ul(), as_p(), as_table().

Reported by: Mariusz Felisiak Owned by: David Smith
Component: Forms Version: 4.0
Severity: Release blocker Keywords:
Cc: David Smith, Johannes Maron, Carlton Gibson Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mariusz Felisiak)

forms.Field.help_text shouldn't be HTML-escaped (as documented) when form is rendered with as_ul(), as_p(), as_table() helpers.

Thanks Matt Westcott for the report.

Regression in 456466d932830b096d39806e291fe23ec5ed38d5.

Change History (7)

comment:1 Changed 21 months ago by Mariusz Felisiak

Summary: forms.Field.help_text shouldn't be HTML-escaped when form rendered with as_ul(), as_p(), as_table() helpers.forms.Field.help_text shouldn't be HTML-escaped when form is rendered with as_ul(), as_p(), as_table().

comment:2 Changed 21 months ago by David Smith

Owner: changed from nobody to David Smith
Status: newassigned

comment:3 Changed 21 months ago by Mariusz Felisiak

Description: modified (diff)

comment:4 Changed 21 months ago by David Smith

Has patch: set
Last edited 21 months ago by Mariusz Felisiak (previous) (diff)

comment:5 Changed 21 months ago by Mariusz Felisiak

Triage Stage: AcceptedReady for checkin

comment:6 Changed 21 months ago by Mariusz Felisiak <felisiak.mariusz@…>

Resolution: fixed
Status: assignedclosed

In 4c60c3e:

Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe.

Regression in 456466d932830b096d39806e291fe23ec5ed38d5.

Thanks Matt Westcott for the report.

comment:7 Changed 21 months ago by Mariusz Felisiak <felisiak.mariusz@…>

In c959aa9:

[4.0.x] Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe.

Regression in 456466d932830b096d39806e291fe23ec5ed38d5.

Thanks Matt Westcott for the report.

Backport of 4c60c3edff4312303e1021fca47ed52c2152d285 from main

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