mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
43f01925cd
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1458 48356398-32a2-884e-a903-53898d9a118a
27 lines
629 B
PHP
27 lines
629 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/HTMLModule.php';
|
|
|
|
class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
|
|
{
|
|
public $name = 'CommonAttributes';
|
|
|
|
public $attr_collections = array(
|
|
'Core' => array(
|
|
0 => array('Style'),
|
|
// 'xml:space' => false,
|
|
'class' => 'NMTOKENS',
|
|
'id' => 'ID',
|
|
'title' => 'CDATA',
|
|
),
|
|
'Lang' => array(),
|
|
'I18N' => array(
|
|
0 => array('Lang'), // proprietary, for xml:lang/lang
|
|
),
|
|
'Common' => array(
|
|
0 => array('Core', 'I18N')
|
|
)
|
|
);
|
|
}
|
|
|