mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
50aa0ea714
- Make $info in AttrTypes protected, to force cloning - Remove copy() functions in favor of clone git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1664 48356398-32a2-884e-a903-53898d9a118a
33 lines
854 B
PHP
33 lines
854 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', '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',
|
|
)
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|