You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
670B

  1. <?php
  2. class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
  3. {
  4. /**
  5. * @type string
  6. */
  7. public $name = 'CommonAttributes';
  8. /**
  9. * @type array
  10. */
  11. public $attr_collections = array(
  12. 'Core' => array(
  13. 0 => array('Style'),
  14. // 'xml:space' => false,
  15. 'class' => 'Class',
  16. 'id' => 'ID',
  17. 'title' => 'CDATA',
  18. ),
  19. 'Lang' => array(),
  20. 'I18N' => array(
  21. 0 => array('Lang'), // proprietary, for xml:lang/lang
  22. ),
  23. 'Common' => array(
  24. 0 => array('Core', 'I18N')
  25. )
  26. );
  27. }
  28. // vim: et sw=4 sts=4