Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
609e42cdd8
@ -474,6 +474,7 @@ function item_post(&$a) {
|
|||||||
if($uid && $uid == $profile_uid && feature_enabled($uid,'markdown')) {
|
if($uid && $uid == $profile_uid && feature_enabled($uid,'markdown')) {
|
||||||
require_once('include/bb2diaspora.php');
|
require_once('include/bb2diaspora.php');
|
||||||
$body = escape_tags($body);
|
$body = escape_tags($body);
|
||||||
|
$body = str_replace("\n",'<br />', $body);
|
||||||
$body = preg_replace_callback('/\[share(.*?)\]/ism','share_shield',$body);
|
$body = preg_replace_callback('/\[share(.*?)\]/ism','share_shield',$body);
|
||||||
$body = diaspora2bb($body,true);
|
$body = diaspora2bb($body,true);
|
||||||
$body = preg_replace_callback('/\[share(.*?)\]/ism','share_unshield',$body);
|
$body = preg_replace_callback('/\[share(.*?)\]/ism','share_unshield',$body);
|
||||||
|
@ -1,2 +1 @@
|
|||||||
2015-11-09.1211
|
2015-11-10.1212
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user