mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: Use nh3 lib instead of bleach (#23862)
This commit is contained in:
@@ -50,5 +50,8 @@ def test_render_description_with_html() -> None:
|
||||
._get_content()
|
||||
.body
|
||||
)
|
||||
assert '<p>This is <a href="#">a test</a> alert</p><br>' in email_body
|
||||
assert (
|
||||
'<p>This is <a href="#" rel="noopener noreferrer">a test</a> alert</p><br>'
|
||||
in email_body
|
||||
)
|
||||
assert '<td><a href="http://www.example.com">333</a></td>' in email_body
|
||||
|
||||
Reference in New Issue
Block a user