rename bb2diaspora.php to markdown.php
This commit is contained in:
parent
29daf1ecee
commit
7e1e9ac94a
@ -523,7 +523,7 @@ class Item extends \Zotlabs\Web\Controller {
|
|||||||
// <img src="javascript:alert('hacked');" />
|
// <img src="javascript:alert('hacked');" />
|
||||||
|
|
||||||
// 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/markdown.php');
|
||||||
// $body = escape_tags(trim($body));
|
// $body = escape_tags(trim($body));
|
||||||
// $body = str_replace("\n",'<br />', $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);
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2191,7 +2191,7 @@ function store_diaspora_comment_sig($datarray, $channel, $parent_item, $post_id,
|
|||||||
|
|
||||||
// since Diaspora doesn't handle edits we can only do this for the original text and not update it.
|
// since Diaspora doesn't handle edits we can only do this for the original text and not update it.
|
||||||
|
|
||||||
require_once('include/bb2diaspora.php');
|
require_once('include/markdown.php');
|
||||||
$signed_body = bb2diaspora_itembody($datarray,$walltowall);
|
$signed_body = bb2diaspora_itembody($datarray,$walltowall);
|
||||||
|
|
||||||
if($walltowall) {
|
if($walltowall) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @file include/bb2diaspora.php
|
* @file include/markdown.php
|
||||||
* @brief Some functions for BB conversions for Diaspora protocol.
|
* @brief Some functions for BB conversions for Diaspora protocol.
|
||||||
*/
|
*/
|
||||||
|
|
Reference in New Issue
Block a user