-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbid blank ethics_statement (#2301)
A project should not be submittable if its "Ethics Statement" is blank. It is not sufficient to check that ethics_statement is a non-empty string: a string such as `<p> </p>` will appear as blank, and should not be accepted. (Note that CKEditor will often output something like `<p> </p>` when the field appears to be empty.) There's no reason not to handle ethics_statement in exactly the same way as all the other required content fields (REQUIRED_FIELDS.) Fixes #2239
- Loading branch information
Showing
1 changed file
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters