Skip to content

Commit d7b2e2c

Browse files
authored
fix: allow @ symbol for coauthors (vas3k#1038)
Signed-off-by: Vitalii Dmitriev <[email protected]> Signed-off-by: Vitalii Dmitriev <[email protected]>
1 parent 31f40cd commit d7b2e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/forms/compose.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def clean_topic(self):
8989
return topic
9090

9191
def clean_coauthors(self):
92-
coauthors = self.cleaned_data.get("coauthors")
92+
coauthors = [coauthor.replace("@", "", 1) for coauthor in self.cleaned_data.get("coauthors")]
9393
if not coauthors:
9494
return []
9595

0 commit comments

Comments
 (0)