2006-07-29 17:38:28 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once 'HTMLPurifier/Strategy/Composite.php';
|
|
|
|
|
|
|
|
require_once 'HTMLPurifier/Strategy/RemoveForeignElements.php';
|
|
|
|
require_once 'HTMLPurifier/Strategy/MakeWellFormed.php';
|
|
|
|
require_once 'HTMLPurifier/Strategy/FixNesting.php';
|
2006-08-14 00:27:15 +00:00
|
|
|
require_once 'HTMLPurifier/Strategy/ValidateAttributes.php';
|
2006-07-29 17:38:28 +00:00
|
|
|
|
|
|
|
class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite
|
|
|
|
{
|
|
|
|
|
|
|
|
function HTMLPurifier_Strategy_Core() {
|
|
|
|
$this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements();
|
|
|
|
$this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed();
|
|
|
|
$this->strategies[] = new HTMLPurifier_Strategy_FixNesting();
|
2006-08-14 00:27:15 +00:00
|
|
|
$this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes();
|
2006-07-29 17:38:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|