diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 34c81a928..51966b0e3 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7744,3 +7744,7 @@ body { resize: none !important; } } + +p { /* fix the transform:exploit */ + overflow: hidden !important; +} diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 25df485de..f5ecc46fc 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -58,8 +58,6 @@ allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-al def allowed_attributes(tag, name, value): if name == 'style': - if 'transform' in value.lower() and 'scale' in value.lower(): - return False return True if tag == 'marquee':