forked from GNUsocial/gnu-social
		
	was using HTMLPurifier::purify() as a static method, which it is not
This commit is contained in:
		| @@ -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)); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user