mirror of
https://github.com/flarum/core.git
synced 2025-08-03 23:17:43 +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
|
# 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)
|
## [1.1.0](https://github.com/flarum/mentions/compare/v1.0.0...v1.1.0)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@@ -27,7 +27,7 @@ export default function getMentionText(user, postId) {
|
|||||||
}
|
}
|
||||||
// @"Display name"#UserID
|
// @"Display name"#UserID
|
||||||
const cleanText = getCleanDisplayName(user);
|
const cleanText = getCleanDisplayName(user);
|
||||||
return `@"${cleanText}"${user.id()}`;
|
return `@"${cleanText}"#${user.id()}`;
|
||||||
} else {
|
} else {
|
||||||
// @"Display name"#pPostID
|
// @"Display name"#pPostID
|
||||||
const cleanText = getCleanDisplayName(user);
|
const cleanText = getCleanDisplayName(user);
|
||||||
|
Reference in New Issue
Block a user