mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #19237 (again) - Made strip_tags consistent between Python versions
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user