Fix problem where stacked AttrTransforms clobber each other.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / Proprietary.php
blobdd36a3de0efc0d45f36dd5d9f3868f487b5d1cc5
1 <?php
3 /**
4 * Module defines proprietary tags and attributes in HTML.
5 * @warning If this module is enabled, standards-compliance is off!
6 */
7 class HTMLPurifier_HTMLModule_Proprietary extends HTMLPurifier_HTMLModule
10 public $name = 'Proprietary';
12 public function setup($config) {
14 $this->addElement('marquee', 'Inline', 'Flow', 'Common',
15 array(
16 'direction' => 'Enum#left,right,up,down',
17 'behavior' => 'Enum#alternate',
18 'width' => 'Length',
19 'height' => 'Length',
20 'scrolldelay' => 'Number',
21 'scrollamount' => 'Number',
22 'loop' => 'Number',
23 'bgcolor' => 'Color',
24 'hspace' => 'Pixels',
25 'vspace' => 'Pixels',
33 // vim: et sw=4 sts=4