1: <?php
2:
3: class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
4: {
5: public $name = 'CommonAttributes';
6:
7: public $attr_collections = array(
8: 'Core' => array(
9: 0 => array('Style'),
10: // 'xml:space' => false,
11: 'class' => 'Class',
12: 'id' => 'ID',
13: 'title' => 'CDATA',
14: ),
15: 'Lang' => array(),
16: 'I18N' => array(
17: 0 => array('Lang'), // proprietary, for xml:lang/lang
18: ),
19: 'Common' => array(
20: 0 => array('Core', 'I18N')
21: )
22: );
23:
24: }
25:
26: // vim: et sw=4 sts=4
27: