1
0
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:
SychO9
2021-10-18 20:49:03 +01:00
2 changed files with 6 additions and 1 deletions

View File

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

View File

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