Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / Strategy / Core.php
blob66e7bb36344d3305bab7e25e320ab922621a1059
1 <?php
3 require_once 'HTMLPurifier/Strategy/Composite.php';
5 require_once 'HTMLPurifier/Strategy/RemoveForeignElements.php';
6 require_once 'HTMLPurifier/Strategy/MakeWellFormed.php';
7 require_once 'HTMLPurifier/Strategy/FixNesting.php';
8 require_once 'HTMLPurifier/Strategy/ValidateAttributes.php';
10 /**
11 * Core strategy composed of the big four strategies.
13 class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite
16 function HTMLPurifier_Strategy_Core() {
17 $this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements();
18 $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed();
19 $this->strategies[] = new HTMLPurifier_Strategy_FixNesting();
20 $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes();