1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00

Fix missing space after mentions inserted via post reply

Closes https://github.com/flarum/core/issues/3096
This commit is contained in:
Alexander Skvortsov
2021-10-06 16:30:45 -04:00
parent 7c954129f0
commit 2cb00d6773

View File

@@ -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