diff --git a/files/routes/holes.py b/files/routes/holes.py index 7d642af20..64e770065 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -389,8 +389,8 @@ def create_sub2(v): mod = Mod(user_id=v.id, hole=hole.name) g.db.add(mod) - - text_html = sanitize(f":!marseyparty: /h/{hole} has been created by @{v.username} :marseyparty:", blackjack="notification") + text = f":!marseyparty: /h/{hole} has been created by @{v.username} :marseyparty:" + text_html = sanitize(text, blackjack="notification") cid = create_comment(text_html) t = time.time() - 604800