From 3437d7229e10cb4be6ab898691e650c417ac831b Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Mon, 18 Oct 2021 20:17:22 +0100 Subject: [PATCH] fix: Missing `#` from autocompleted user mention format (#74) --- extensions/mentions/js/src/forum/utils/getMentionText.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/mentions/js/src/forum/utils/getMentionText.js b/extensions/mentions/js/src/forum/utils/getMentionText.js index 5a6c97361..99e92af30 100644 --- a/extensions/mentions/js/src/forum/utils/getMentionText.js +++ b/extensions/mentions/js/src/forum/utils/getMentionText.js @@ -27,7 +27,7 @@ export default function getMentionText(user, postId) { } // @"Display name"#UserID const cleanText = getCleanDisplayName(user); - return `@"${cleanText}"${user.id()}`; + return `@"${cleanText}"#${user.id()}`; } else { // @"Display name"#pPostID const cleanText = getCleanDisplayName(user);