mirror of
https://github.com/friendica/friendica
synced 2025-04-26 03:50:12 +00:00
Some more "convertForUriId" replacements
This commit is contained in:
parent
c151376596
commit
07d2dfcd60
15 changed files with 33 additions and 133 deletions
|
@ -1345,8 +1345,7 @@ class Receiver
|
|||
// Some AP software allow formatted text in post location, so we run all the text converters we have to boil
|
||||
// down to HTML and then finally format to plaintext.
|
||||
$location = Markdown::convert($location);
|
||||
$location = BBCode::convert($location);
|
||||
$location = HTML::toPlaintext($location);
|
||||
$location = BBCode::toPlaintext($location);
|
||||
}
|
||||
|
||||
$object_data['sc:identifier'] = JsonLD::fetchElement($object, 'sc:identifier', '@value');
|
||||
|
|
|
@ -345,7 +345,7 @@ class Transmitter
|
|||
}
|
||||
|
||||
if (!empty($owner['about'])) {
|
||||
$data['summary'] = BBCode::convert($owner['about'], false);
|
||||
$data['summary'] = BBCode::convertForUriId($owner['uri-id'], $owner['about'], BBCode::EXTERNAL);
|
||||
}
|
||||
|
||||
$data['url'] = $owner['url'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue