mirror of
https://github.com/friendica/friendica
synced 2024-11-18 17:43:41 +00:00
Remove RTL Override character from display names to show in notifications
- It was causing the notification message to be unreadable
This commit is contained in:
parent
71ab9e13f2
commit
256c8ab170
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ class FormattedNavNotification extends BaseFactory
|
|||
{
|
||||
$contact_photo = Contact::getAvatarUrlForUrl($contact_url, $this->userSession->getLocalUserId(), Proxy::SIZE_MICRO);
|
||||
|
||||
// Removing the RTL Override character to prevent a garbled notification message
|
||||
// See https://github.com/friendica/friendica/issues/12084
|
||||
$contact_name = str_replace("\xE2\x80\xAE", '', $contact_name);
|
||||
|
||||
$dateMySQL = $date->format(DateTimeFormat::MYSQL);
|
||||
|
||||
$templateNotify = [
|
||||
|
|
Loading…
Reference in a new issue