Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / lib / htmlpurifier / HTMLPurifier / HTMLModule / StyleAttribute.php
blob5ee5d1cf651fcfd10e70f56dc3b607a722cd9390
1 <?php
3 require_once 'HTMLPurifier/HTMLModule.php';
4 require_once 'HTMLPurifier/AttrDef/CSS.php';
6 /**
7 * XHTML 1.1 Edit Module, defines editing-related elements. Text Extension
8 * Module.
9 */
10 class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule
13 var $name = 'StyleAttribute';
14 var $attr_collections = array(
15 // The inclusion routine differs from the Abstract Modules but
16 // is in line with the DTD and XML Schemas.
17 'Style' => array('style' => false), // see constructor
18 'Core' => array(0 => array('Style'))
21 function HTMLPurifier_HTMLModule_StyleAttribute() {
22 $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS();