3 require_once 'HTMLPurifier/HTMLModule.php';
6 * XHTML 1.1 Object Module, defines elements for generic object inclusion
7 * @warning Users will commonly use <embed> to cater to legacy browsers: this
8 * module does not allow this sort of behavior
10 class HTMLPurifier_HTMLModule_Object
extends HTMLPurifier_HTMLModule
15 function HTMLPurifier_HTMLModule_Object() {
17 $this->addElement('object', false, 'Inline', 'Optional: #PCDATA | Flow | param', 'Common',
24 'declare' => 'Bool#declare',
28 'tabindex' => 'Number',
29 'type' => 'ContentType',
34 $this->addElement('param', false, false, 'Empty', false,
40 'valuetype' => 'Enum#data,ref,object'