]> git.mxchange.org Git - friendica.git/commitdiff
"name" must be plaintext
authorMichael <heluecht@pirati.ca>
Sat, 6 Oct 2018 13:28:17 +0000 (13:28 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 6 Oct 2018 13:28:17 +0000 (13:28 +0000)
src/Protocol/ActivityPub/Transmitter.php

index 7d9d6626ce8d918132d945f0b2e24b2c363fdc17..081ba0b7399231ae682b2c6d38a5bada3d20b639 100644 (file)
@@ -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'];