mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-24 17:21:52 +00:00
43f01925cd
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1458 48356398-32a2-884e-a903-53898d9a118a
21 lines
425 B
PHP
21 lines
425 B
PHP
<?php
|
|
|
|
require_once 'HTMLPurifier/HTMLModule/Tidy.php';
|
|
require_once 'HTMLPurifier/AttrTransform/Lang.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;
|
|
}
|
|
|
|
}
|
|
|