Add vim modelines to all files.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / Presentation.php
blob89b9ad0c647f6dbe0a52f6809c123440947b08b2
1 <?php
3 /**
4 * XHTML 1.1 Presentation Module, defines simple presentation-related
5 * markup. Text Extension Module.
6 * @note The official XML Schema and DTD specs further divide this into
7 * two modules:
8 * - Block Presentation (hr)
9 * - Inline Presentation (b, big, i, small, sub, sup, tt)
10 * We have chosen not to heed this distinction, as content_sets
11 * provides satisfactory disambiguation.
13 class HTMLPurifier_HTMLModule_Presentation extends HTMLPurifier_HTMLModule
16 public $name = 'Presentation';
18 public function setup($config) {
19 $this->addElement('b', 'Inline', 'Inline', 'Common');
20 $this->addElement('big', 'Inline', 'Inline', 'Common');
21 $this->addElement('hr', 'Block', 'Empty', 'Common');
22 $this->addElement('i', 'Inline', 'Inline', 'Common');
23 $this->addElement('small', 'Inline', 'Inline', 'Common');
24 $this->addElement('sub', 'Inline', 'Inline', 'Common');
25 $this->addElement('sup', 'Inline', 'Inline', 'Common');
26 $this->addElement('tt', 'Inline', 'Inline', 'Common');
31 // vim: et sw=4 sts=4