From 93f3c511dcba417990c130b90e3d4afa6e45c3c5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 20 May 2021 07:43:12 -0400 Subject: [PATCH] Fix wrong display of mentions in RTL context --- 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 32cd818cac..8c1476fa35 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-05-01'; + const VERSION = '2021-05-21'; const INTERNAL = 0; const EXTERNAL = 1; @@ -1721,7 +1721,7 @@ class BBCode $text); } elseif (!$simple_html) { $text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism", - '$1$3', + '$1$3', $text); }