mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Partially revert 9efe1a721, strip_tags improvements
The new regex seems not stable enough for being released. Stripping with regex might need reevaluation for the next release. Refs #19237.
This commit is contained in:
@@ -65,7 +65,6 @@ class TestUtilsHtml(unittest.TestCase):
|
||||
('<f', '<f'),
|
||||
('</fe', '</fe'),
|
||||
('<x>b<y>', 'b'),
|
||||
('a<p onclick="alert(\'<test>\')">b</p>c', 'abc'),
|
||||
('a<p a >b</p>c', 'abc'),
|
||||
('d<a:b c:d>e</p>f', 'def'),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user