]>
Commit | Line | Data |
---|---|---|
010efc9b AD |
1 | <?php |
2 | ||
3 | /** | |
4 | * Core strategy composed of the big four strategies. | |
5 | */ | |
6 | class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite | |
7 | { | |
8 | ||
9 | public function __construct() { | |
10 | $this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements(); | |
11 | $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed(); | |
12 | $this->strategies[] = new HTMLPurifier_Strategy_FixNesting(); | |
13 | $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes(); | |
14 | } | |
15 | ||
16 | } | |
17 | ||
18 | // vim: et sw=4 sts=4 |