1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-17 16:51:30 +00:00

remove htmlpurifier

This commit is contained in:
Andrew Dolgov
2012-06-01 00:07:59 +04:00
parent 65dd90f2ba
commit c21a462d52
356 changed files with 4 additions and 26185 deletions

View File

@@ -1,21 +0,0 @@
<?php
/**
* Special-case enum attribute definition that lazy loads allowed frame targets
*/
class HTMLPurifier_AttrDef_HTML_FrameTarget extends HTMLPurifier_AttrDef_Enum
{
public $valid_values = false; // uninitialized value
protected $case_sensitive = false;
public function __construct() {}
public function validate($string, $config, $context) {
if ($this->valid_values === false) $this->valid_values = $config->get('Attr.AllowedFrameTargets');
return parent::validate($string, $config, $context);
}
}
// vim: et sw=4 sts=4