Aevann 2023-03-10 02:04:13 +02:00
parent 555941cfc7
commit 60d0ff395c
1 changed files with 1 additions and 1 deletions

View File

@ -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)}<a href="/!{i.group(2)}">!{i.group(2)}</a>')
sanitized = sanitized.replace(i.group(0), f'{i.group(1)}<a href="/!{i.group(2)}">!{i.group(2)}</a>', 1)
soup = BeautifulSoup(sanitized, 'lxml')