0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 00:41:52 +00:00
htmlpurifier/library/HTMLPurifier/HTMLModule.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';
}
?>