1: <?php
2:
3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
13: class HTMLPurifier_HTMLModule_Presentation extends HTMLPurifier_HTMLModule
14: {
15:
16: public $name = 'Presentation';
17:
18: public function setup($config) {
19: $this->addElement('hr', 'Block', 'Empty', 'Common');
20: $this->addElement('sub', 'Inline', 'Inline', 'Common');
21: $this->addElement('sup', 'Inline', 'Inline', 'Common');
22: $b = $this->addElement('b', 'Inline', 'Inline', 'Common');
23: $b->formatting = true;
24: $big = $this->addElement('big', 'Inline', 'Inline', 'Common');
25: $big->formatting = true;
26: $i = $this->addElement('i', 'Inline', 'Inline', 'Common');
27: $i->formatting = true;
28: $small = $this->addElement('small', 'Inline', 'Inline', 'Common');
29: $small->formatting = true;
30: $tt = $this->addElement('tt', 'Inline', 'Inline', 'Common');
31: $tt->formatting = true;
32: }
33:
34: }
35:
36:
37: