SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 394495ae authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add another improvement to `Submission.authors_as_list`

parent 39e0a2b8
No related branches found
No related tags found
No related merge requests found
......@@ -571,6 +571,7 @@ class Submission(models.Model):
comma_separated = comma_separated.replace(" and ", ", ")
comma_separated = comma_separated.replace(", & ", ", ")
comma_separated = comma_separated.replace(" & ", ", ")
comma_separated = comma_separated.replace(";", ", ")
return [e.lstrip().rstrip() for e in comma_separated.split(",")]
def touch(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment