Added function "bb_CleanPictureLinks" ro all connectors
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user