diff options
author | Mario <mario@mariovavti.com> | 2023-05-30 09:11:30 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-05-30 09:11:30 +0000 |
commit | 396b124e84109655f7e4587589ada8044f034bfa (patch) | |
tree | c3768b0a23427e953aacaf53d5980130cf29c986 | |
parent | 6a27afa6acdcc1d54bb109353c518051a37d9189 (diff) | |
download | volse-hubzilla-396b124e84109655f7e4587589ada8044f034bfa.tar.gz volse-hubzilla-396b124e84109655f7e4587589ada8044f034bfa.tar.bz2 volse-hubzilla-396b124e84109655f7e4587589ada8044f034bfa.zip |
do not parse x-multicode as bbcode
-rw-r--r-- | Zotlabs/Lib/Activity.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 8f5f385ef..db2dfd84a 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3909,12 +3909,11 @@ class Activity { } if (array_path_exists('source/mediaType', $act) && array_path_exists('source/content', $act)) { - if (in_array($act['source']['mediaType'], ['text/bbcode', 'text/x-multicode'])) { + if (in_array($act['source']['mediaType'], ['text/bbcode'])) { $content['bbcode'] = purify_html($act['source']['content']); } } - return $content; } |