2009-05-19 19:32:06 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
|
|
|
|
{
|
|
|
|
public $name = 'CommonAttributes';
|
|
|
|
|
|
|
|
public $attr_collections = array(
|
|
|
|
'Core' => array(
|
|
|
|
0 => array('Style'),
|
|
|
|
// 'xml:space' => false,
|
2009-11-27 10:37:41 +01:00
|
|
|
'class' => 'Class',
|
2009-05-19 19:32:06 +02:00
|
|
|
'id' => 'ID',
|
|
|
|
'title' => 'CDATA',
|
|
|
|
),
|
|
|
|
'Lang' => array(),
|
|
|
|
'I18N' => array(
|
|
|
|
0 => array('Lang'), // proprietary, for xml:lang/lang
|
|
|
|
),
|
|
|
|
'Common' => array(
|
|
|
|
0 => array('Core', 'I18N')
|
|
|
|
)
|
|
|
|
);
|
2009-11-27 10:37:41 +01:00
|
|
|
|
2009-05-19 19:32:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// vim: et sw=4 sts=4
|