HTMLPurifier 4.4.0
|
00001 <?php 00002 00003 class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule 00004 { 00005 public $name = 'CommonAttributes'; 00006 00007 public $attr_collections = array( 00008 'Core' => array( 00009 0 => array('Style'), 00010 // 'xml:space' => false, 00011 'class' => 'Class', 00012 'id' => 'ID', 00013 'title' => 'CDATA', 00014 ), 00015 'Lang' => array(), 00016 'I18N' => array( 00017 0 => array('Lang'), // proprietary, for xml:lang/lang 00018 ), 00019 'Common' => array( 00020 0 => array('Core', 'I18N') 00021 ) 00022 ); 00023 00024 } 00025 00026 // vim: et sw=4 sts=4