aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-30 08:48:02 +0000
committerMario <mario@mariovavti.com>2020-07-30 08:48:02 +0000
commit976d6baf6a0ea5a2dfb692720adddb7b9e53a10c (patch)
treeba96eac704606e25617c72a7e9a3a0ac9e7a56ab /Zotlabs
parentf9271bb0bda12bbec38c823dbe3016e9164812b5 (diff)
downloadvolse-hubzilla-976d6baf6a0ea5a2dfb692720adddb7b9e53a10c.tar.gz
volse-hubzilla-976d6baf6a0ea5a2dfb692720adddb7b9e53a10c.tar.bz2
volse-hubzilla-976d6baf6a0ea5a2dfb692720adddb7b9e53a10c.zip
use the compact view in html2plain()
Diffstat (limited to 'Zotlabs')
-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 90c498d78..03a824b9b 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -860,7 +860,7 @@ class Enotify {
//'b64mid' => ((in_array($item['verb'], [ACTIVITY_LIKE, ACTIVITY_DISLIKE])) ? 'b64.' . base64url_encode($item['thr_parent']) : 'b64.' . base64url_encode($item['mid'])),
'thread_top' => (($item['item_thread_top']) ? true : false),
'message' => bbcode(escape_tags($itemem_text)),
- 'body' => htmlentities(html2plain(bbcode($item['body'])), ENT_COMPAT, 'UTF-8', false),
+ 'body' => htmlentities(html2plain(bbcode($item['body']), 75, true), ENT_COMPAT, 'UTF-8', false),
// these are for the superblock addon
'hash' => $item[$who]['xchan_hash'],
'uid' => $item['uid'],