diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fc935b04d..0bd71fef9 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -191,6 +191,7 @@ def sanitize(sanitized, noimages=False): for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized): old = i.group(0) if 'marseylong' in old: new = old.lower().replace(">", " style='margin-bottom:0 !important'>") + else: new = old.lower() for i in re.finditer('\w*(?