easter egg
This commit is contained in:
@@ -375,7 +375,7 @@ function item_post(&$a) {
|
||||
killme();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$expires = '0000-00-00 00:00:00';
|
||||
|
||||
@@ -422,6 +422,13 @@ function item_post(&$a) {
|
||||
|
||||
if($mimetype === 'text/bbcode') {
|
||||
|
||||
if(local_user() && local_user() == $profile_uid && get_pconfig(local_user(),'editor','use_markdown')) {
|
||||
require_once('include/bb2diaspora.php');
|
||||
$body = diaspora2bb($body);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// BBCODE alert: the following functions assume bbcode input
|
||||
// and will require alternatives for alternative content-types (text/html, text/markdown, text/plain, etc.)
|
||||
// we may need virtual or template classes to implement the possible alternatives
|
||||
|
||||
Reference in New Issue
Block a user