Skip to content

Commit

Permalink
Fix bleach call
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Jan 1, 2025
1 parent 4ae6577 commit 1c1fcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newpipe_crash_report_importer/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_plaintext_or_html_part(self):
def sanitize_message(original_data):
normalized = unicodedata.normalize("NFKD", original_data)
decoded = html.unescape(normalized)
sanitized = bleach.clean(decoded, tags=[], attributes={}, styles=[], strip=True)
sanitized = bleach.clean(decoded, tags=[], attributes={}, strip=True)
return unicodedata.normalize("NFKD", sanitized)

@staticmethod
Expand Down

0 comments on commit 1c1fcfc

Please sign in to comment.