aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-03 13:54:40 +0000
committerMario <mario@mariovavti.com>2022-11-03 13:54:40 +0000
commit818374c8ccf29b0911fc02e2d9786eff3a731088 (patch)
tree0dcf5a244224c7e2097ee53f52be9f09c09b8b66 /Zotlabs/Lib
parente80191d4cdadd38978579edf17bf8188d7729c4e (diff)
downloadvolse-hubzilla-818374c8ccf29b0911fc02e2d9786eff3a731088.tar.gz
volse-hubzilla-818374c8ccf29b0911fc02e2d9786eff3a731088.tar.bz2
volse-hubzilla-818374c8ccf29b0911fc02e2d9786eff3a731088.zip
wor around shares from streams not rendered correctly
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
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']);
}
}