diff --git a/files/helpers/alerts.py b/files/helpers/alerts.py index 418cae630..a17edd921 100644 --- a/files/helpers/alerts.py +++ b/files/helpers/alerts.py @@ -59,7 +59,7 @@ def notif_comment(text, autojanny=False): for i in re.finditer("

@((\w|-){1,25})", text_html): u = get_user(i.group(1), graceful=True) if u: - text_html = text_html.replace(f'

@{u.username}', f'

@{u.username}') + text_html = text_html.replace(f'

@{u.username}', f'

@{u.username}') existing = g.db.query(Comment.id).filter_by(author_id=author_id, parent_submission=None, distinguish_level=6, body_html=text_html, created_utc=0).first()