diff --git a/files/routes/comments.py b/files/routes/comments.py index c9ae52659..fea703b20 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -252,7 +252,7 @@ def comment(v): torture = (v.agendaposter and not v.marseyawarded and parent_post.sub != 'chudrama' and parent_post.id not in ADMIGGERS) - body_html = sanitize(body_for_sanitize, limit_pings=5, marsified=True, torture=torture) + body_html = sanitize(body_for_sanitize, limit_pings=5, marsified=v.marsify, torture=torture) if parent_post.id not in ADMIGGERS and '!wordle' not in body.lower() and AGENDAPOSTER_PHRASE not in body.lower(): @@ -677,7 +677,7 @@ def edit_comment(cid, v): torture = (v.agendaposter and not v.marseyawarded and c.post.sub != 'chudrama') - body_html = sanitize(body_for_sanitize, edit=True, limit_pings=5, marsified=True, torture=torture) + body_html = sanitize(body_for_sanitize, edit=True, limit_pings=5, marsified=v.marsify, torture=torture) if len(body_html) > 20000: abort(400)