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