From 02d3355989e3fc179b5807584478a4b7b2bee588 Mon Sep 17 00:00:00 2001 From: SychO9 Date: Sun, 2 May 2021 21:37:31 +0100 Subject: [PATCH] Add space when inserting a post mention --- extensions/mentions/js/src/forum/utils/reply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/mentions/js/src/forum/utils/reply.js b/extensions/mentions/js/src/forum/utils/reply.js index 2355641b5..12c79b883 100644 --- a/extensions/mentions/js/src/forum/utils/reply.js +++ b/extensions/mentions/js/src/forum/utils/reply.js @@ -4,7 +4,7 @@ import cleanDisplayName from './cleanDisplayName'; function insertMention(post, composer, quote) { const user = post.user(); - const mention = `@"${(user && cleanDisplayName(user)) || app.translator.trans('core.lib.username.deleted_text')}"#p${post.id()}`; + const mention = `@"${(user && cleanDisplayName(user)) || app.translator.trans('core.lib.username.deleted_text')}"#p${post.id()} `; // If the composer is empty, then assume we're starting a new reply. // In which case we don't want the user to have to confirm if they