mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 23:08:42 +00:00
33 lines
860 B
PHP
33 lines
860 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Module defines proprietary tags and attributes in HTML.
|
||
|
* @warning If this module is enabled, standards-compliance is off!
|
||
|
*/
|
||
|
class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule
|
||
|
{
|
||
|
|
||
|
public $name = 'Proprietary';
|
||
|
|
||
|
public function __construct() {
|
||
|
|
||
|
$this->addElement('marquee', true, 'Inline', 'Flow', 'Common',
|
||
|
array(
|
||
|
'direction' => 'Enum#left,right,up,down',
|
||
|
'behavior' => 'Enum#alternate',
|
||
|
'width' => 'Length',
|
||
|
'height' => 'Length',
|
||
|
'scrolldelay' => 'Number',
|
||
|
'scrollamount' => 'Number',
|
||
|
'loop' => 'Number',
|
||
|
'bgcolor' => 'Color',
|
||
|
'hspace' => 'Pixels',
|
||
|
'vspace' => 'Pixels',
|
||
|
)
|
||
|
);
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|