﻿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
4310	strip_entities bug	michal@…	Jacob	"There is bug in the '''strip_entities''' function (django.utils.html).

The actual regexp doesn't strip entities like &#8217; (it strips only something with one digit, like &#8;).

{{{
  return re.sub(r'&(?:\w+|#\d);', '', value)
}}}

Correct version is:

{{{
  return re.sub(r'&(?:\w+|#\d+);', '', value)
}}}

(there was missing sign + after \d)
"		closed	Uncategorized	dev		fixed	strip_entities	ferringb@…	Ready for checkin	1	0	0	0	0	0
