From c47f7a56b226d1cd75c9ca563899ab37f1eaabfd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 6 Oct 2021 07:37:07 +0200 Subject: [PATCH] dfsdfs --- files/helpers/sanitize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index b2afb009c..3e62f452c 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -189,7 +189,7 @@ def sanitize(sanitized, noimages=False): if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '').replace(end, '') print(sanitized) - for i in re.finditer("[^'\"]>\s*(:!?\w+:\s*)+<\/", sanitized): + for i in re.finditer("[^a]>\s*(:!?\w+:\s*)+<\/", sanitized): old = i.group(0) new = old.lower().replace(">", " style='margin-bottom:0 !important'>") for i in re.finditer('\w*(?