﻿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
31189	Password field help texts generates invalid html when using as_p() and as_table() helpers.	Marc Nieper-Wißkirchen	nobody	"The help text for the password field of, say, the UserCreationForm, is generated here: https://github.com/django/django/blob/master/django/contrib/auth/password_validation.py#L78 and is an html list. The form methods, `as_table' and `as_p', however, wrap the help text into a span tag. In the resulting rendered HTML, there will thus be a ul tag inside a span tag, which is invalid html.

To solve this problem, the span tag needs at least to be a div. But then there is the problem that `as_p' renders everything inside a paragraph, which also cannot take an html list, only phrasing content."	Cleanup/optimization	closed	contrib.auth	3.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
