bb
This commit is contained in:
parent
1700c4717d
commit
2112fe604a
2 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue