Class HTMLPurifier_HTMLModule_CommonAttributes
Represents an XHTML 1.1 module, with information on elements, tags and attributes.
- HTMLPurifier_HTMLModule
- HTMLPurifier_HTMLModule_CommonAttributes
Note:
Even though this is technically XHTML 1.1, it is also used for regular HTML
parsing. We are using modulization as a convenient way to represent the
internals of HTMLDefinition, and our implementation is by no means conforming
and does not directly use the normative DTDs or XML schemas.
Note: The public variables in a module should almost directly correspond to the variables in HTMLPurifier_HTMLDefinition. However, the prefix info carries no special meaning in these objects (include it anyway if that's the correspondence though).
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
Note: The public variables in a module should almost directly correspond to the variables in HTMLPurifier_HTMLDefinition. However, the prefix info carries no special meaning in these objects (include it anyway if that's the correspondence though).
Located at x2engine/framework/vendors/htmlpurifier/HTMLPurifier.standalone.php
addBlankElement(),
addElement(),
addElementToContentSet(),
getChildDef(),
makeLookup(),
mergeInAttrIncludes(),
parseContents(),
setup()
|
public
string
|
$name | 'CommonAttributes' |
|
public
array
|
$attr_collections | array(
'Core' => array(
0 => array('Style'),
// 'xml:space' => false,
'class' => 'Class',
'id' => 'ID',
'title' => 'CDATA',
),
'Lang' => array(),
'I18N' => array(
0 => array('Lang'), // proprietary, for xml:lang/lang
),
'Common' => array(
0 => array('Core', 'I18N')
)
) |
$content_sets,
$defines_child_def,
$elements,
$info,
$info_attr_transform_post,
$info_attr_transform_pre,
$info_injector,
$info_tag_transform,
$safe
|