diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index ae66cdb0cb..342994f8e8 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -391,7 +391,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys else: existing = g.db.get(Group, name) if existing: - sanitized = sanitized.replace(i.group(0), f'{i.group(1)}!{i.group(2)}') + sanitized = sanitized.replace(i.group(0), f'{i.group(1)}!{i.group(2)}', 1) soup = BeautifulSoup(sanitized, 'lxml')