Fix convert emoji with sign “+” (#4957)

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
Yuriy Bakhtin 2021-03-10 15:14:01 +03:00 committed by GitHub
parent a75b05120c
commit 89a42322d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ HumHub Changelog
- Fix #4942: MemberOf Display in LDAP CLI Show User Details
- Fix #4465: LDAP PHP 8 incompatibility (multiPageSearch)
- Fix #4946: Fix migration of the default permissions
- Fix #4955: Fix convert emoji with sign "+"
- Fix #4956: Fix file hash column length

View File

@ -20,7 +20,7 @@ class RichTextEmojiExtension extends RichTextContentExtension
/**
* @inheritdoc
*/
const REGEX = '/[:|;](([A-Za-z0-9_-])+)[:|;]/';
const REGEX = '/[:|;](([A-Za-z0-9_\-+])+)[:|;]/';
/**
* @inheritdoc