Update by natay on Wed May 15 10:16:19 EDT 2019 from H7-D25RF0PLGQ18
@@ -109,7 +109,8 @@ class BiostarInlineLexer(MonkeyPatch):
# Query user and get the link
user = User.objects.filter(username=username).first()
if user:
- link = f'<a href="{reverse("user_profile", kwargs=dict(uid=user.profile.uid))}">{user.profile.name}</a>'
+ profile = reverse("user_profile", kwargs=dict(uid=user.profile.uid))
+ link = f'<a href="{profile}">{user.profile.name}</a>'
else:
link = handle
