__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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 Edit Module, defines editing-related elements. Text Extension
* Module.
*/
class HTMLPurifier_HTMLModule_Edit extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'Edit';
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config)
{
$contents = 'Chameleon: #PCDATA | Inline ! #PCDATA | Flow';
$attr = array(
'cite' => 'URI',
// 'datetime' => 'Datetime', // not implemented
);
$this->addElement('del', 'Inline', $contents, 'Common', $attr);
$this->addElement('ins', 'Inline', $contents, 'Common', $attr);
}
// HTML 4.01 specifies that ins/del must not contain block
// elements when used in an inline context, chameleon is
// a complicated workaround to acheive this effect
// Inline context ! Block context (exclamation mark is
// separator, see getChildDef for parsing)
/**
* @type bool
*/
public $defines_child_def = true;
/**
* @param HTMLPurifier_ElementDef $def
* @return HTMLPurifier_ChildDef_Chameleon
*/
public function getChildDef($def)
{
if ($def->content_model_type != 'chameleon') {
return false;
}
$value = explode('!', $def->content_model);
return new HTMLPurifier_ChildDef_Chameleon($value[0], $value[1]);
}
}
// 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 |
|