Welcome! » Log In » Create A New Profile

how to update from addFilter() ?

Posted by Will 
Will
how to update from addFilter() ?
June 09, 2008 03:26PM

Hi - just updating to 3.1 and got a warning on using addFilter(). In our HTMLPur plugin handler we do like this to add a YouTube filter:

require_once('htmlpure/Filter/YouTube.php'); $gHtmlPurifier->addFilter(new HTMLPurifier_Filter_YouTube());

How should we update this code for the current release?

Thanks Will http://bitweaver.org

Re: how to update from addFilter() ?
June 09, 2008 07:23PM

Check the Filters section on this page: http://htmlpurifier.org/news/2008/3.1.0-released.html

Sorry, you do not have permission to post/reply in this forum.