This commit is contained in:
Aevann1 2022-01-14 01:44:55 +02:00
parent 1700c4717d
commit 2112fe604a
2 changed files with 12 additions and 12 deletions

View file

@ -211,7 +211,7 @@ def api_comment(v):
if v.agendaposter and not v.marseyawarded: body = torture_ap(body, v.username)
body_html = sanitize(body)
body_html = sanitize(body, comment=True)
if v.marseyawarded and len(list(re.finditer('>[^<\s+]|[^>\s+]<', body_html))): return {"error":"You can only type marseys!"}, 403