2007-05-19 21:00:12 +00:00
|
|
|
<?php
|
|
|
|
|
2008-02-10 21:34:52 +00:00
|
|
|
class HTMLPurifier_HTMLModule_Tidy_XHTML extends HTMLPurifier_HTMLModule_Tidy
|
2007-05-19 21:00:12 +00:00
|
|
|
{
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public $name = 'Tidy_XHTML';
|
|
|
|
public $defaultLevel = 'medium';
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2007-11-25 02:24:39 +00:00
|
|
|
public function makeFixes() {
|
2007-05-19 21:00:12 +00:00
|
|
|
$r = array();
|
|
|
|
$r['@lang'] = new HTMLPurifier_AttrTransform_Lang();
|
|
|
|
return $r;
|
|
|
|
}
|
2008-12-06 07:28:20 +00:00
|
|
|
|
2007-05-19 21:00:12 +00:00
|
|
|
}
|
|
|
|
|
2008-12-06 09:24:59 +00:00
|
|
|
// vim: et sw=4 sts=4
|