2007-02-16 03:07:47 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
|
|
|
|
{
|
2007-11-25 02:24:39 +00:00
|
|
|
public $name = 'CommonAttributes';
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public $attr_collections = array(
|
2007-02-16 03:07:47 +00:00
|
|
|
'Core' => array(
|
|
|
|
0 => array('Style'),
|
|
|
|
// 'xml:space' => false,
|
2009-05-26 01:55:44 +00:00
|
|
|
'class' => 'Class',
|
2007-02-16 03:07:47 +00:00
|
|
|
'id' => 'ID',
|
|
|
|
'title' => 'CDATA',
|
|
|
|
),
|
2007-05-19 21:00:12 +00:00
|
|
|
'Lang' => array(),
|
2007-02-16 03:07:47 +00:00
|
|
|
'I18N' => array(
|
|
|
|
0 => array('Lang'), // proprietary, for xml:lang/lang
|
|
|
|
),
|
|
|
|
'Common' => array(
|
|
|
|
0 => array('Core', 'I18N')
|
|
|
|
)
|
|
|
|
);
|
2009-05-26 01:55:44 +00:00
|
|
|
|
2007-02-16 03:07:47 +00:00
|
|
|
}
|
|
|
|
|
2008-12-06 09:24:59 +00:00
|
|
|
// vim: et sw=4 sts=4
|