diff --git a/files/routes/posts.py b/files/routes/posts.py index d40982ba0d..733cafdcd0 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1066,8 +1066,6 @@ def edit_post(pid, v): p.body = body - process_poll_options(v, p) - for text in [p.body, p.title, p.url]: if execute_blackjack(v, p, text, 'post'): break @@ -1076,6 +1074,8 @@ def edit_post(pid, v): p.body_html = body_html + process_poll_options(v, p) + if not complies_with_chud(p): abort(403, f'You have to include "{v.chud_phrase}" in your post!')