XOOPS 2.5.6
Final
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
Name.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_HTMLModule_Tidy_Name
extends
HTMLPurifier_HTMLModule_Tidy
7
{
8
public
$name
=
'Tidy_Name'
;
9
public
$defaultLevel
=
'heavy'
;
10
public
function
makeFixes
() {
11
12
$r = array();
13
14
// @name for img, a -----------------------------------------------
15
// Technically, it's allowed even on strict, so we allow authors to use
16
// it. However, it's deprecated in future versions of XHTML.
17
$r[
'img@name'
] =
18
$r[
'a@name'
] =
new
HTMLPurifier_AttrTransform_Name
();
19
20
return
$r;
21
}
22
}
23
24
// vim: et sw=4 sts=4
L:
0xoops
xoops-2.5.6
htdocs
xoops_lib
modules
protector
library
HTMLPurifier
HTMLModule
Tidy
Name.php
Generated on Fri May 10 2013 01:04:30 for XOOPS 2.5.6 by
1.8.3.1