mirror of
https://github.com/flarum/core.git
synced 2025-08-01 22:20:21 +02:00
Merge branch 'v1.1.1'
# Conflicts: # js/dist/forum.js # js/dist/forum.js.map
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## [1.1.1](https://github.com/flarum/mentions/compare/v1.1.0...v1.1.1)
|
||||
|
||||
### Fixed
|
||||
- Broken autocompleted user mention format (https://github.com/flarum/mentions/pull/74)
|
||||
|
||||
## [1.1.0](https://github.com/flarum/mentions/compare/v1.0.0...v1.1.0)
|
||||
|
||||
### Changed
|
||||
|
@@ -27,7 +27,7 @@ export default function getMentionText(user, postId) {
|
||||
}
|
||||
// @"Display name"#UserID
|
||||
const cleanText = getCleanDisplayName(user);
|
||||
return `@"${cleanText}"${user.id()}`;
|
||||
return `@"${cleanText}"#${user.id()}`;
|
||||
} else {
|
||||
// @"Display name"#pPostID
|
||||
const cleanText = getCleanDisplayName(user);
|
||||
|
Reference in New Issue
Block a user