diff --git a/app/utils/markdown_extensions/pclinks.py b/app/utils/markdown_extensions/pclinks.py index 6a68376..af01848 100644 --- a/app/utils/markdown_extensions/pclinks.py +++ b/app/utils/markdown_extensions/pclinks.py @@ -96,7 +96,7 @@ def handleUser(content_id, context): a = etree.Element('a') a.text = member.name - a.set('href', url_for('user_by_id', user_id=member.id)) + a.set('href', url_for('user', username=member.norm)) a.set('class', 'profile-link') return a