summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/salmonaction.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/lib/salmonaction.php')
-rw-r--r--plugins/OStatus/lib/salmonaction.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php
index 273be588b..08bfa332f 100644
--- a/plugins/OStatus/lib/salmonaction.php
+++ b/plugins/OStatus/lib/salmonaction.php
@@ -173,9 +173,9 @@ class SalmonAction extends Action
$html = $this->act->object->content;
- $htmlConfig = HTMLPurifier_Config::createDefault();
+ $purifier = new HTMLPurifier();
- $rendered = HTMLPurifier::purify($html, $htmlConfig);
+ $rendered = $purifier->purify($html);
$content = html_entity_decode(strip_tags($rendered));