﻿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
10931	truncate_html_words doen't handle multi-line tags properly	George Song	Julien Phalip	"If you have the following in your HTML, for example:

{{{
<a class=""offsite"" href=
""http://blah.com/something/"">
}}}

`truncate_html_words` will include all the words in the tag, as well as not close the tag properly if it needs to.

The attached patch simply adds the `re.S` flag for the two regular expressions used in the function."	Bug	closed	Template system	dev	Normal	fixed	truncatewords_html		Accepted	1	0	0	0	0	0
