diff --git a/files/routes/posts.py b/files/routes/posts.py index 1f3cfdcdb..9c788cb57 100755 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -214,6 +214,8 @@ def edit_post(pid, v): title = request.values.get("title", "").strip() body = request.values.get("body", "").strip() + if len(body) > 10000: return {"error":"Character limit is 10000!"}, 403 + if v.marseyawarded: if time.time() > v.marseyawarded: v.marseyawarded = None diff --git a/files/templates/admin/rules.html b/files/templates/admin/rules.html index 3b13ec662..c58b4f0ac 100755 --- a/files/templates/admin/rules.html +++ b/files/templates/admin/rules.html @@ -16,7 +16,7 @@
- +
diff --git a/files/templates/award_modal.html b/files/templates/award_modal.html index 18fa6d5c6..c38120a5c 100755 --- a/files/templates/award_modal.html +++ b/files/templates/award_modal.html @@ -31,7 +31,7 @@
- +
diff --git a/files/templates/ban_modal.html b/files/templates/ban_modal.html index 3cbd93caa..31e7e6e1c 100755 --- a/files/templates/ban_modal.html +++ b/files/templates/ban_modal.html @@ -40,7 +40,7 @@ - + diff --git a/files/templates/comment_failed.html b/files/templates/comment_failed.html index aa0bad2d4..7305fca1a 100755 --- a/files/templates/comment_failed.html +++ b/files/templates/comment_failed.html @@ -26,7 +26,7 @@ {% if parent_fullname %}{% endif %} {% if parent_submission %}{% endif %} - +
diff --git a/files/templates/comments.html b/files/templates/comments.html index f60939316..a82285c28 100755 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -327,7 +327,7 @@