From 894a0b65496118912c2860de174aea1cc692bcc5 Mon Sep 17 00:00:00 2001 From: Eldeberen Date: Sat, 20 Feb 2021 19:09:30 +0100 Subject: [PATCH] pclink: fix link for users --- app/utils/markdown_extensions/pclinks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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