* finish task #3147 and update HTMLPurifier.

This commit is contained in:
wangyidong
2017-08-16 13:32:34 +08:00
parent d805329387
commit a25a10d542
379 changed files with 23099 additions and 21960 deletions

View File

@@ -0,0 +1,26 @@
<?php
class HTMLPurifier_HTMLModule_Tidy_XHTML extends HTMLPurifier_HTMLModule_Tidy
{
/**
* @type string
*/
public $name = 'Tidy_XHTML';
/**
* @type string
*/
public $defaultLevel = 'medium';
/**
* @return array
*/
public function makeFixes()
{
$r = array();
$r['@lang'] = new HTMLPurifier_AttrTransform_Lang();
return $r;
}
}
// vim: et sw=4 sts=4