diff options
author | Mario <mario@mariovavti.com> | 2020-10-11 19:48:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-10-11 19:48:35 +0000 |
commit | 8595835aa0d5fff5a51d6c8c42dbb6ff140b4f57 (patch) | |
tree | 2fe41907152999a576bee1e8e0fa901e45946e74 /Zotlabs/Lib/Enotify.php | |
parent | 4d2507263dbeba3b945efab5f3fcfc676558ded1 (diff) | |
download | volse-hubzilla-8595835aa0d5fff5a51d6c8c42dbb6ff140b4f57.tar.gz volse-hubzilla-8595835aa0d5fff5a51d6c8c42dbb6ff140b4f57.tar.bz2 volse-hubzilla-8595835aa0d5fff5a51d6c8c42dbb6ff140b4f57.zip |
revert linebreak removing
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r-- | Zotlabs/Lib/Enotify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index fad249e47..03a824b9b 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -859,7 +859,7 @@ class Enotify { 'b64mid' => (($item['mid']) ? 'b64.' . base64url_encode($item['mid']) : ''), //'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(str_replace(["\r\n", "\r", "\n"], ' ', $itemem_text))), + 'message' => bbcode(escape_tags($itemem_text)), 'body' => htmlentities(html2plain(bbcode($item['body']), 75, true), ENT_COMPAT, 'UTF-8', false), // these are for the superblock addon 'hash' => $item[$who]['xchan_hash'], |