Simplify about field conversion to plaintext in Protocol\Diaspora

2022.09-rc
Hypolite Petovan 2020-02-23 20:35:36 -05:00
rodzic 6a3d40ab46
commit bfea5d42ad
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

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