Simplify about field conversion to plaintext in Protocol\Diaspora

This commit is contained in:
Hypolite Petovan 2020-02-23 20:35:36 -05:00
parent 6a3d40ab46
commit bfea5d42ad

View File

@ -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 = '';