mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #19237 (again) - Made strip_tags consistent between Python versions
This commit is contained in:
parent
8c2fd050f8
commit
b664cb818d
3 changed files with 18 additions and 9 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue