diff --git a/activities/models/post.py b/activities/models/post.py index 17985fb..3c3f50c 100644 --- a/activities/models/post.py +++ b/activities/models/post.py @@ -321,7 +321,7 @@ class Post(StatorModel): PostTypeData.parse_obj(value) mention_regex = re.compile( - r"(^|[^\w\d\-_])@([\w\d\-_]+(?:@[\w\d\-_]+\.[\w\d\-_\.]+)?)" + r"(^|[^\w\d\-_/])@([\w\d\-_]+(?:@[\w\d\-_]+\.[\w\d\-_\.]+)?)" ) def linkify_mentions(self, content: str, local: bool = False) -> str: