From: Hypolite Petovan Date: Mon, 24 Feb 2020 01:35:36 +0000 (-0500) Subject: Simplify about field conversion to plaintext in Protocol\Diaspora X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bfea5d42ad3beb014c2d2d323549f07faa028360;p=friendica.git Simplify about field conversion to plaintext in Protocol\Diaspora --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index fd20991108..1080a81544 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -4135,8 +4135,7 @@ class Diaspora $dob = DateTimeFormat::utc($year . '-' . $month . '-'. $day, 'Y-m-d'); } - $about = $profile['about']; - $about = strip_tags(BBCode::convert($about)); + $about = BBCode::toPlaintext($profile['about']); $location = Profile::formatLocation($profile); $tags = '';