﻿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
29798	truncatewords_html fails on some self-closing tags	Béranger Enselme	nobody	"Also in 1.11...

{{{
>>> from django.template.defaultfilters import truncatewords_html
>>> truncatewords_html('<p class=""alinea"">one two three</p>', 2)
'<p class=""alinea"">one two ...</p>'
>>> truncatewords_html('<p class=""alinea"">one two three</p><p class=""alinea""/><p class=""alinea"">four five</p>', 4)
'<p class=""alinea"">one two three</p><p class=""alinea""/><p class=""alinea"">four ...</p></p>'
}}}

`truncatewords_html` will add tag closures for every self-closing tag that has at least an attribute.
"	Uncategorized	closed	Template system	2.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
