diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index ee09b768d..8f1cc692f 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -84,7 +84,7 @@ def sanitize_marquee(tag, name, value): return False allowed_attributes = { - '*': ['href', 'style', 'src', 'class', 'title', 'rel', 'data-bs-original-name'], + '*': ['href', 'style', 'src', 'class', 'title'], 'marquee': sanitize_marquee} allowed_protocols = ['http', 'https'] diff --git a/files/templates/formatting.html b/files/templates/formatting.html index 07f055ef7..ee9778732 100644 --- a/files/templates/formatting.html +++ b/files/templates/formatting.html @@ -475,12 +475,6 @@ line breaks