New BBCode element "abstract" for network depending messages.

This commit is contained in:
Michael Vogel
2016-02-22 23:20:59 +01:00
parent 8c8ebb4adc
commit 8ec833f808
3 changed files with 88 additions and 1 deletions
+4
View File
@@ -18,6 +18,7 @@ require_once("include/event.php");
require_once("include/text.php");
require_once("include/oembed.php");
require_once("include/html2bbcode.php");
require_once("include/bbcode.php");
/**
* @brief This class contain functions to create and send DFRN XML files
@@ -720,6 +721,9 @@ class dfrn {
else
$body = $item['body'];
// Remove the abstract element. It is only locally important.
$body = remove_abstract($body);
if ($type == 'html') {
$htmlbody = $body;