mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Add space when inserting a post mention
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user