From 2cb00d67731f01a8a93a8eb6fed14dd91f9fc5c1 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Wed, 6 Oct 2021 16:30:45 -0400 Subject: [PATCH] Fix missing space after mentions inserted via post reply Closes https://github.com/flarum/core/issues/3096 --- 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 d1cd596e0..68cc8132d 100644 --- a/extensions/mentions/js/src/forum/utils/reply.js +++ b/extensions/mentions/js/src/forum/utils/reply.js @@ -4,7 +4,7 @@ import getMentionText from './getMentionText'; function insertMention(post, composer, quote) { const user = post.user(); - const mention = getMentionText(user, post.id()); + const mention = getMentionText(user, 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