Add RTL support for display names in mentions
This commit is contained in:
parent
c76af27533
commit
5bca6fe98c
|
@ -50,7 +50,7 @@ use Friendica\Util\XML;
|
||||||
class BBCode
|
class BBCode
|
||||||
{
|
{
|
||||||
// Update this value to the current date whenever changes are made to BBCode::convert
|
// 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 INTERNAL = 0;
|
||||||
const API = 2;
|
const API = 2;
|
||||||
|
@ -1731,7 +1731,7 @@ class BBCode
|
||||||
$text);
|
$text);
|
||||||
} elseif (!$simple_html) {
|
} elseif (!$simple_html) {
|
||||||
$text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism",
|
$text = preg_replace("/([@!])\[url\=(.*?)\](.*?)\[\/url\]/ism",
|
||||||
'$1<a href="$2" class="userinfo mention" title="$3">$3</a>',
|
'$1<a href="$2" class="userinfo mention" title="$3"><bdi>$3</bdi></a>',
|
||||||
$text);
|
$text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue