ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
XHTML.php
Go to the documentation of this file.
1 <?php
2 
4 {
8  public $name = 'Tidy_XHTML';
9 
13  public $defaultLevel = 'medium';
14 
18  public function makeFixes()
19  {
20  $r = array();
21  $r['@lang'] = new HTMLPurifier_AttrTransform_Lang();
22  return $r;
23  }
24 }
25 
26 // vim: et sw=4 sts=4
Post-transform that copies lang&#39;s value to xml:lang (and vice-versa)
Definition: Lang.php:8
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML...
Definition: Tidy.php:8
$r
Definition: example_031.php:79