﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33946	admin change_form field label does not use mark_safe	Caram	nobody	"Example:

**models.py**
{{{
myfield = models.BooleanField(format_html('<i class=""fa-regular fa-hourglass-half""</i>'))
}}}

**generated HTML**

{{{
<label class=""vCheckboxLabel"" for=""id_myfield"">&lt;i class=&quot;fa-regular fa-hourglass-half&quot;&gt;&lt;/i&gt;</label>
}}}

The issue only occurs for  change_form.html. In other words, change_list.html handles this case well.
"	Bug	closed	contrib.admin	4.1	Normal	invalid			Unreviewed	0	0	0	0	1	1
