mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:10:11 +00:00
Use different parser modes for Mastodon and Twitter-API
This commit is contained in:
parent
205f19da38
commit
210200d330
8 changed files with 27 additions and 28 deletions
|
@ -616,7 +616,7 @@ class Event
|
|||
|
||||
$title = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['summary']));
|
||||
if (!$title) {
|
||||
list($title, $_trash) = explode("<br", BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['desc'])), BBCode::API);
|
||||
list($title, $_trash) = explode("<br", BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['desc'])), BBCode::TWITTER_API);
|
||||
}
|
||||
|
||||
$author_link = $event['author-link'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue