Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Workaround python/mypy#6463
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Oct 7, 2021
1 parent ec73d78 commit e3e8756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/push/mailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ def safe_text(raw_text: str) -> jinja2.Markup:
A Markup object ready to safely use in a Jinja template.
"""
return jinja2.Markup(
bleach.linkify(bleach.clean(raw_text, tags=[], attributes={}, strip=False))
bleach.linkify(bleach.clean(raw_text, tags=[], attributes=[], strip=False))
)


Expand Down

0 comments on commit e3e8756

Please sign in to comment.