mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 17:01:51 +00:00
2c955af135
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
17 lines
305 B
PHP
17 lines
305 B
PHP
<?php
|
|
|
|
class HTMLPurifier_HTMLModule_Tidy_XHTML extends HTMLPurifier_HTMLModule_Tidy
|
|
{
|
|
|
|
public $name = 'Tidy_XHTML';
|
|
public $defaultLevel = 'medium';
|
|
|
|
public function makeFixes() {
|
|
$r = array();
|
|
$r['@lang'] = new HTMLPurifier_AttrTransform_Lang();
|
|
return $r;
|
|
}
|
|
|
|
}
|
|
|