Implement %Attr.AllowedClasses and %Attr.ForbiddenClasses.
[htmlpurifier.git] / library / HTMLPurifier / HTMLModule / CommonAttributes.php
blob7c15da84fc32938d97f879332eb5dfa17a893dae
1 <?php
3 class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
5 public $name = 'CommonAttributes';
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',
15 'Lang' => array(),
16 'I18N' => array(
17 0 => array('Lang'), // proprietary, for xml:lang/lang
19 'Common' => array(
20 0 => array('Core', 'I18N')
26 // vim: et sw=4 sts=4