was using HTMLPurifier::purify() as a static method, which it is not

This commit is contained in:
Evan Prodromou 2010-02-21 23:16:42 -05:00
parent aab7ce70dc
commit e39e6cdcc5
1 changed files with 2 additions and 2 deletions

View File

@ -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));