]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/3rdparty/htmlpurifier/HTMLPurifier/HTMLModule/StyleAttribute.php
remove autoload section in composer.json
[github/wallabag/wallabag.git] / inc / 3rdparty / htmlpurifier / HTMLPurifier / HTMLModule / StyleAttribute.php
CommitLineData
d4949327
NL
1<?php\r
2\r
3/**\r
4 * XHTML 1.1 Edit Module, defines editing-related elements. Text Extension\r
5 * Module.\r
6 */\r
7class HTMLPurifier_HTMLModule_StyleAttribute extends HTMLPurifier_HTMLModule\r
8{\r
9 /**\r
10 * @type string\r
11 */\r
12 public $name = 'StyleAttribute';\r
13\r
14 /**\r
15 * @type array\r
16 */\r
17 public $attr_collections = array(\r
18 // The inclusion routine differs from the Abstract Modules but\r
19 // is in line with the DTD and XML Schemas.\r
20 'Style' => array('style' => false), // see constructor\r
21 'Core' => array(0 => array('Style'))\r
22 );\r
23\r
24 /**\r
25 * @param HTMLPurifier_Config $config\r
26 */\r
27 public function setup($config)\r
28 {\r
29 $this->attr_collections['Style']['style'] = new HTMLPurifier_AttrDef_CSS();\r
30 }\r
31}\r
32\r
33// vim: et sw=4 sts=4\r