diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 5c0bc89756..db1043e117 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("
\s*(((:\w+:)|(!\w+!))\s*)+<\/p>", sanitized): old = i.group(0) - new = old.lower().replace("
", "
") + new = old.lower() for i in re.finditer('\w*(?", "
")) for i in re.finditer('\w*(?