diff options
author | Mario <mario@mariovavti.com> | 2020-01-18 16:04:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-18 16:04:40 +0000 |
commit | 570d84c031d9cdf0e16aa79bc4a7a111345cc3f3 (patch) | |
tree | 1cd06778945413703544b822e4990c81a0e35a43 | |
parent | 9eeccc087dbba93d5d67c242666fe257cc35f3ee (diff) | |
download | volse-hubzilla-570d84c031d9cdf0e16aa79bc4a7a111345cc3f3.tar.gz volse-hubzilla-570d84c031d9cdf0e16aa79bc4a7a111345cc3f3.tar.bz2 volse-hubzilla-570d84c031d9cdf0e16aa79bc4a7a111345cc3f3.zip |
fix shortlocalize
-rw-r--r-- | Zotlabs/Lib/Enotify.php | 2 | ||||
-rw-r--r-- | include/conversation.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index db80e9edd..f6f8ad0cb 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -849,7 +849,7 @@ class Enotify { //'b64mid' => ((in_array($item['verb'], [ACTIVITY_LIKE, ACTIVITY_DISLIKE])) ? 'b64.' . base64url_encode($item['thr_parent']) : 'b64.' . base64url_encode($item['mid'])), 'notify_id' => 'undefined', 'thread_top' => (($item['item_thread_top']) ? true : false), - 'message' => bbcode(strip_tags($itemem_text)), + 'message' => bbcode(escape_tags($itemem_text)), // these are for the superblock addon 'hash' => $item[$who]['xchan_hash'], 'uid' => $item['uid'], diff --git a/include/conversation.php b/include/conversation.php index 1aa34ae85..3c86bef3c 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -172,7 +172,7 @@ function localize_item(&$item){ $shortbodyverb = t('doesn\'t like %1$s\'s %2$s'); } - $item['shortlocalize'] = sprintf($shortbodyverb, '[bdi]' . $objauthor . '[/bdi]', $plink); + $item['shortlocalize'] = sprintf($shortbodyverb, '[bdi]' . $author_name . '[/bdi]', $post_type); $item['body'] = $item['localize'] = sprintf($bodyverb, '[bdi]' . $author . '[/bdi]', '[bdi]' . $objauthor . '[/bdi]', $plink); if($Bphoto != "") |