mirror of
https://github.com/friendica/friendica
synced 2025-05-09 01:04:13 +02: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
|
@ -116,7 +116,7 @@ class Plaintext
|
|||
* @see \Friendica\Content\Text\BBCode::getAttachedData
|
||||
*
|
||||
*/
|
||||
public static function getPost($item, $limit = 0, $includedlinks = false, $htmlmode = BBCode::API, $target_network = '')
|
||||
public static function getPost($item, $limit = 0, $includedlinks = false, $htmlmode = BBCode::MASTODON_API, $target_network = '')
|
||||
{
|
||||
// Remove hashtags
|
||||
$URLSearchString = '^\[\]';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue