Hi,
class MyForm(forms.Form):
name = forms.CharField(help_text="some <em>lovely</em> HTML")
rendering onto a template with {{ form.as_p }} results in the <em> tag being escaped, which wasn't the case in earlier versions. While to my eyes this is a positive change (it's now consistent with virtually every other case where a plain Python string is passed to HTML output, and if you do want to preserve HTML markup then wrapping it in mark_safe works as expected), it strikes me as the sort of breaking change you wouldn't have made lightly. It's not highlighted in the 4.0 release notes, and the documentation for help_text still states that it isn't escaped:
Cheers,
- Matt