Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
eduzen committed Jan 20, 2025
1 parent 8ffdbea commit d91fc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/tests/test_html_sanitizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ def test_preserve_text_only(self):
def test_dynamic_allowed_tags(self):
"""Ensure that sanitizer uses dynamically overridden settings."""
input_html = (
"<p>Paragraph with"
'<a href="https://example.com" title="Example">link</a>'
"<p>Paragraph with "
'<a href="https://example.com" title="Example">link</a> '
"and <b>bold</b>.</p>"
)
# With settings overridden, 'a' allows 'href' only, 'b' is disallowed
Expand Down

0 comments on commit d91fc67

Please sign in to comment.