Merge pull request #23575 from nextcloud/backport/23415/stable20
[stable20] Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
This commit is contained in:
commit
2d3a2e20ae
|
@ -81,7 +81,8 @@ class EmojiService {
|
||||||
// just continue and check the next character
|
// just continue and check the next character
|
||||||
if ($codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_SYMBOL ||
|
if ($codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_SYMBOL ||
|
||||||
$codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_LETTER ||
|
$codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_LETTER ||
|
||||||
$codePointType === \IntlChar::CHAR_CATEGORY_OTHER_SYMBOL) {
|
$codePointType === \IntlChar::CHAR_CATEGORY_OTHER_SYMBOL ||
|
||||||
|
$codePointType === \IntlChar::CHAR_CATEGORY_GENERAL_OTHER_TYPES) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue