From 5bca6fe98cc497f95c328bcda298c1f314661f9f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 1 May 2021 15:32:17 -0400 Subject: [PATCH] Add RTL support for display names in mentions --- src/Content/Text/BBCode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 48fda6296..b03100fc9 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -50,7 +50,7 @@ use Friendica\Util\XML; class BBCode { // Update this value to the current date whenever changes are made to BBCode::convert - const VERSION = '2021-04-24'; + const VERSION = '2021-05-01'; const INTERNAL = 0; const API = 2; @@ -1731,7 +1731,7 @@ class BBCode $text); } elseif (!$simple_html) { $text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism", - '$1$3', + '$1$3', $text); }