mirror of
https://github.com/flarum/framework.git
synced 2025-03-03 22:19:40 +08:00
Fix missing space after mentions inserted via post reply
Closes https://github.com/flarum/core/issues/3096
This commit is contained in:
parent
7c954129f0
commit
2cb00d6773
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user