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.

27 lines
439B

  1. <?php
  2. class HTMLPurifier_HTMLModule_Tidy_XHTML extends HTMLPurifier_HTMLModule_Tidy
  3. {
  4. /**
  5. * @type string
  6. */
  7. public $name = 'Tidy_XHTML';
  8. /**
  9. * @type string
  10. */
  11. public $defaultLevel = 'medium';
  12. /**
  13. * @return array
  14. */
  15. public function makeFixes()
  16. {
  17. $r = array();
  18. $r['@lang'] = new HTMLPurifier_AttrTransform_Lang();
  19. return $r;
  20. }
  21. }
  22. // vim: et sw=4 sts=4