/home/techb158/immovalet.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef
NameSizeModeActions
CSS/-0755rm
HTML/-0755rm
URI/-0755rm
Clone.php8720644editdlrm
CSS.php43390644editdlrm
Enum.php22110644editdlrm
Integer.php25470644editdlrm
Lang.php24360644editdlrm
Switch.php12890644editdlrm
Text.php4300644editdlrm
URI.php27120644editdlrm
Edit: /home/techb158/immovalet.com/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Switch.php (1289B)
tag = $tag; $this->withTag = $with_tag; $this->withoutTag = $without_tag; } /** * @param string $string * @param HTMLPurifier_Config $config * @param HTMLPurifier_Context $context * @return bool|string */ public function validate($string, $config, $context) { $token = $context->get('CurrentToken', true); if (!$token || $token->name !== $this->tag) { return $this->withoutTag->validate($string, $config, $context); } else { return $this->withTag->validate($string, $config, $context); } } } // vim: et sw=4 sts=4