From 818374c8ccf29b0911fc02e2d9786eff3a731088 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 3 Nov 2022 13:54:40 +0000 Subject: wor around shares from streams not rendered correctly --- Zotlabs/Lib/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 180c533ef..b93df8a02 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3819,7 +3819,7 @@ class Activity { } if (array_path_exists('source/mediaType', $act) && array_path_exists('source/content', $act)) { - if ($act['source']['mediaType'] === 'text/bbcode') { + if (in_array($act['source']['mediaType'], ['text/bbcode', 'text/x-multicode'])) { $content['bbcode'] = purify_html($act['source']['content']); } } -- cgit v1.2.3