aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
committerMario <mario@mariovavti.com>2022-07-26 18:00:00 +0000
commit40377796edd8c612ce9d68f52fc146ad32302f9e (patch)
tree92cce4a3ee3627ed28f45ce8f0bb3598be87c8c9 /Zotlabs/Lib/Enotify.php
parentc452a621fe7db5405d929ebc5f5433c9670fc367 (diff)
parentfedad7f31a1b9133bfd63de7fc19de6916485254 (diff)
downloadvolse-hubzilla-7.6.tar.gz
volse-hubzilla-7.6.tar.bz2
volse-hubzilla-7.6.zip
Merge branch '7.6RC'7.6
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 59e4d9a4e..07c426960 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -860,7 +860,7 @@ class Enotify {
// convert this logic into a json array just like the system notifications
$who = (($item['verb'] === ACTIVITY_SHARE) ? 'owner' : 'author');
- $body = html2plain(bbcode($item['body'], ['drop_media']), 75, true);
+ $body = html2plain(bbcode($item['body'], ['drop_media' => true, 'tryoembed' => false]), 75, true);
if ($body) {
$body = htmlentities($body, ENT_QUOTES, 'UTF-8', false);
}