diff --git a/newpipe_crash_report_importer/message.py b/newpipe_crash_report_importer/message.py index 661e35f..301d9df 100644 --- a/newpipe_crash_report_importer/message.py +++ b/newpipe_crash_report_importer/message.py @@ -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