hole
This commit is contained in:
parent
febf7c98fb
commit
05ed7a2a05
26 changed files with 124 additions and 126 deletions
|
@ -73,7 +73,7 @@ def notif_comment2(p):
|
|||
if existing: return existing[0]
|
||||
else:
|
||||
text = f"@{p.author.username} has mentioned you: [{p.title}](/post/{p.id})"
|
||||
if p.sub: text += f" in <a href='/s/{p.sub}'>/s/{p.sub}"
|
||||
if p.sub: text += f" in <a href='/h/{p.sub}'>/h/{p.sub}"
|
||||
text_html = sanitize(text, alert=True)
|
||||
return create_comment(text_html)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue