decrease min <p> limit
parent
8b505d4b8c
commit
33ed54391f
|
@ -2053,7 +2053,7 @@ def mark_effortpost(pid, v):
|
|||
min_lines = 10
|
||||
else:
|
||||
min_chars = 3000
|
||||
min_lines = 40
|
||||
min_lines = 20
|
||||
|
||||
if len(p.body) < min_chars or p.body_html.count('<p>') < min_lines:
|
||||
abort(403, "Post is too short!")
|
||||
|
|
Loading…
Reference in New Issue