From 60d0ff395c165fb42b4fce8f3c97015fb47693ce Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 10 Mar 2023 02:04:13 +0200 Subject: [PATCH] fix this https://stupidpol.site/h/foid/post/153435/good-morning-foid-comedian-marseyclown-says/3753551#context --- 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 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')