mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Added function "bb_CleanPictureLinks" ro all connectors
This commit is contained in:
parent
80f6f22852
commit
1754b58cd9
6 changed files with 15 additions and 4 deletions
|
@ -452,6 +452,8 @@ function statusnet_shortenmsg($b, $max_char) {
|
|||
require_once("include/bbcode.php");
|
||||
require_once("include/html2plain.php");
|
||||
|
||||
$b['body'] = bb_CleanPictureLinks($b['body']);
|
||||
|
||||
// Looking for the first image
|
||||
$cleaned_body = api_clean_plain_items($b['body']);
|
||||
$image = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue