ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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's value to xml:lang (and vice-versa)
Definition: Lang.php:9
Abstract class for a set of proprietary modules that clean up (tidy) poorly written HTML.
Definition: Tidy.php:9
$r
Definition: example_031.php:79