From: Michael Date: Sat, 6 Oct 2018 13:28:17 +0000 (+0000) Subject: "name" must be plaintext X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a413ce15aa14480f9c1b98f8f856b883fc6bb5d6;p=friendica.git "name" must be plaintext --- diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 7d9d6626ce..081ba0b739 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -773,7 +773,7 @@ class Transmitter $data['context'] = self::fetchContextURLForItem($item); if (!empty($item['title'])) { - $data['name'] = BBCode::convert($item['title'], false, 7); + $data['name'] = BBCode::toPlaintext($item['title'], false); } $body = $item['body'];