mirror of
https://github.com/TeamNewPipe/CrashReportImporter
synced 2025-10-06 00:22:39 +02:00
Fix bleach call
This commit is contained in:
@@ -57,7 +57,7 @@ class Message:
|
||||
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
|
||||
|
Reference in New Issue
Block a user