mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-05 21:57:26 +02:00
Set up configuration class, implement attr_id_blacklist
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@155 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -15,9 +15,10 @@ class HTMLPurifier_Strategy
|
||||
* Executes the strategy on the tokens.
|
||||
*
|
||||
* @param $tokens Array of HTMLPurifier_Token objects to be operated on.
|
||||
* @param $config Configuration options
|
||||
* @returns Processed array of token objects.
|
||||
*/
|
||||
function execute($tokens) {
|
||||
function execute($tokens, $config = null) {
|
||||
trigger_error('Cannot call abstract function', E_USER_ERROR);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user