Add docs and facilities for having separate directories of schemas.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / StyleAttribute.php
blobeb78464cc0d6ae1450b1f5c9edc3f9844a6b9f8d
1 <?php
3 /**
4 * XHTML 1.1 Edit Module, defines editing-related elements. Text Extension
5 * Module.
6 */
7 class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule
10 public $name = 'StyleAttribute';
11 public $attr_collections = array(
12 // The inclusion routine differs from the Abstract Modules but
13 // is in line with the DTD and XML Schemas.
14 'Style' => array('style' => false), // see constructor
15 'Core' => array(0 => array('Style'))
18 public function setup($config) {
19 $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS();
24 // vim: et sw=4 sts=4