diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 83fa12eab..fc935b04d 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -190,7 +190,7 @@ def sanitize(sanitized, noimages=False): for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized): old = i.group(0) - new = old.lower().replace(">", " style='margin-bottom:0 !important'>") + if 'marseylong' in old: new = old.lower().replace(">", " style='margin-bottom:0 !important'>") for i in re.finditer('\w*(? - + @@ -73,7 +69,7 @@ {% if v %} - + {% endif %} @@ -349,6 +345,12 @@ + +