From bfea5d42ad3beb014c2d2d323549f07faa028360 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 23 Feb 2020 20:35:36 -0500 Subject: [PATCH] Simplify about field conversion to plaintext in Protocol\Diaspora --- src/Protocol/Diaspora.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index fd2099110..1080a8154 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 = '';