]> git.mxchange.org Git - friendica.git/commitdiff
Remove simple_html parameter from about field conversion in Protocol\ActivityPub...
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Feb 2020 12:41:26 +0000 (07:41 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 25 Feb 2020 12:41:26 +0000 (07:41 -0500)
src/Protocol/ActivityPub/Transmitter.php

index b371c7e59dce9da8a774144e6d7bc4bd4c5b1d1a..83441be62d79c4495868f05c081ddf5f65f87776 100644 (file)
@@ -264,7 +264,7 @@ class Transmitter
                $data['name'] = $contact['name'];
                $data['vcard:hasAddress'] = ['@type' => 'vcard:Home', 'vcard:country-name' => $profile['country-name'],
                        'vcard:region' => $profile['region'], 'vcard:locality' => $profile['locality']];
-               $data['summary'] = BBCode::convert($contact['about'], false, 9);
+               $data['summary'] = BBCode::convert($contact['about'], false);
                $data['url'] = $contact['url'];
                $data['manuallyApprovesFollowers'] = in_array($user['page-flags'], [User::PAGE_FLAGS_NORMAL, User::PAGE_FLAGS_PRVGROUP]);
                $data['publicKey'] = ['id' => $contact['url'] . '#main-key',