mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
f6b50d4bfd
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@707 48356398-32a2-884e-a903-53898d9a118a
27 lines
694 B
PHP
27 lines
694 B
PHP
<?php
|
|
|
|
/**
|
|
* Represents an XHTML 1.1 module, with information on elements, tags
|
|
* and attributes.
|
|
* @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.
|
|
*/
|
|
|
|
class HTMLPurifier_HTMLModule
|
|
{
|
|
var $elements = array();
|
|
var $info = array();
|
|
var $content_sets = array();
|
|
}
|
|
|
|
class HTMLPurifier_HTMLModuleElement
|
|
{
|
|
var $attr = array();
|
|
var $content_model;
|
|
var $content_model_type = 'optional';
|
|
}
|
|
|
|
?>
|