Fixed #19237 (again) - Made strip_tags consistent between Python versions

This commit is contained in:
Claude Paroz 2013-05-23 14:00:17 +02:00
parent 8c2fd050f8
commit b664cb818d
3 changed files with 18 additions and 9 deletions

View file

@ -70,6 +70,9 @@ class TestUtilsHtml(TestCase):
('</adf>a', 'a'),
('<asdf><asdf>e', 'e'),
('hi, <f x', 'hi, <f x'),
('234<235, right?', '234<235, right?'),
('a4<a5 right?', 'a4<a5 right?'),
('b7>b2!', 'b7>b2!'),
('</fe', '</fe'),
('<x>b<y>', 'b'),
('a<p onclick="alert(\'<test>\')">b</p>c', 'abc'),