summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 23:16:42 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 23:16:42 -0500
commite39e6cdcc590a5330ab5a20a2519346bfc7965e0 (patch)
tree7f54550d812cbbed6f679d9c0d7ceb7301e9f6c1 /plugins/OStatus/lib
parentaab7ce70dc5ed087754b3d4ddc162b76bd330e89 (diff)
was using HTMLPurifier::purify() as a static method, which it is not
Diffstat (limited to 'plugins/OStatus/lib')
-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));