__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* XHTML 1.1 List Module, defines list-oriented elements. Core Module.
*/
class HTMLPurifier_HTMLModule_List extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'List';
// According to the abstract schema, the List content set is a fully formed
// one or more expr, but it invariably occurs in an optional declaration
// so we're not going to do that subtlety. It might cause trouble
// if a user defines "List" and expects that multiple lists are
// allowed to be specified, but then again, that's not very intuitive.
// Furthermore, the actual XML Schema may disagree. Regardless,
// we don't have support for such nested expressions without using
// the incredibly inefficient and draconic Custom ChildDef.
/**
* @type array
*/
public $content_sets = array('Flow' => 'List');
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config)
{
$ol = $this->addElement('ol', 'List', new HTMLPurifier_ChildDef_List(), 'Common');
$ul = $this->addElement('ul', 'List', new HTMLPurifier_ChildDef_List(), 'Common');
// XXX The wrap attribute is handled by MakeWellFormed. This is all
// quite unsatisfactory, because we generated this
// *specifically* for lists, and now a big chunk of the handling
// is done properly by the List ChildDef. So actually, we just
// want enough information to make autoclosing work properly,
// and then hand off the tricky stuff to the ChildDef.
$ol->wrap = 'li';
$ul->wrap = 'li';
$this->addElement('dl', 'List', 'Required: dt | dd', 'Common');
$this->addElement('li', false, 'Flow', 'Common');
$this->addElement('dd', false, 'Flow', 'Common');
$this->addElement('dt', false, 'Inline', 'Common');
}
}
// vim: et sw=4 sts=4
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Tidy | Folder | 0777 |
|
|
| Bdo.php | File | 1 KB | 0777 |
|
| CommonAttributes.php | File | 722 B | 0777 |
|
| Edit.php | File | 1.4 KB | 0777 |
|
| Forms.php | File | 5.7 KB | 0777 |
|
| Hypertext.php | File | 996 B | 0777 |
|
| Iframe.php | File | 1.15 KB | 0777 |
|
| Image.php | File | 1.36 KB | 0777 |
|
| Legacy.php | File | 5.72 KB | 0777 |
|
| List.php | File | 1.86 KB | 0777 |
|
| Name.php | File | 669 B | 0777 |
|
| Nofollow.php | File | 507 B | 0777 |
|
| NonXMLCommonAttributes.php | File | 354 B | 0777 |
|
| Object.php | File | 1.49 KB | 0777 |
|
| Presentation.php | File | 1.38 KB | 0777 |
|
| Proprietary.php | File | 995 B | 0777 |
|
| Ruby.php | File | 1.03 KB | 0777 |
|
| SafeEmbed.php | File | 1.07 KB | 0777 |
|
| SafeObject.php | File | 1.9 KB | 0777 |
|
| SafeScripting.php | File | 1.23 KB | 0777 |
|
| Scripting.php | File | 2.28 KB | 0777 |
|
| StyleAttribute.php | File | 780 B | 0777 |
|
| Tables.php | File | 2.3 KB | 0777 |
|
| Target.php | File | 599 B | 0777 |
|
| TargetBlank.php | File | 522 B | 0777 |
|
| TargetNoopener.php | File | 516 B | 0777 |
|
| TargetNoreferrer.php | File | 526 B | 0777 |
|
| Text.php | File | 3.35 KB | 0777 |
|
| Tidy.php | File | 7.08 KB | 0777 |
|
| XMLCommonAttributes.php | File | 352 B | 0777 |
|