From: Michael Date: Sun, 15 May 2022 21:04:01 +0000 (+0000) Subject: Issue 11504: Abstract has to be plaintext X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=440b6d7956cbf8e8002e2569dc397bf8201b7ce2;p=friendica.git Issue 11504: Abstract has to be plaintext --- diff --git a/src/Model/Item.php b/src/Model/Item.php index a1cccb2544..13c26c245a 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1079,7 +1079,7 @@ class Item if (in_array($item['network'], [Protocol::ACTIVITYPUB, Protocol::DFRN])) { $content_warning = BBCode::getAbstract($item['body'], Protocol::ACTIVITYPUB); if (!empty($content_warning) && empty($item['content-warning'])) { - $item['content-warning'] = $content_warning; + $item['content-warning'] = BBCode::toPlaintext($content_warning); } }