aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-05-30 09:11:30 +0000
committerMario <mario@mariovavti.com>2023-05-30 09:11:30 +0000
commit396b124e84109655f7e4587589ada8044f034bfa (patch)
treec3768b0a23427e953aacaf53d5980130cf29c986
parent6a27afa6acdcc1d54bb109353c518051a37d9189 (diff)
downloadvolse-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.php3
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;
}