diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-12 23:10:01 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-09-12 23:11:19 +0200 |
commit | 12d0d0f4e699fc6de228e5b4eb994276b34324a3 (patch) | |
tree | 933a777d95540d86ec0cbfe0f2c5be3da464ddd1 /vendor | |
parent | 10e57c89c80fd7d20b2221f29ea8f23b189e9109 (diff) |
also make go to previous article shortcuts fuzzier, #847
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php b/vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php index 1c5842df4..684dbf7ad 100644 --- a/vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php +++ b/vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php @@ -79,7 +79,7 @@ class Attribute 'cite' => array(), 'time' => array('datetime'), 'abbr' => array('title'), - 'iframe' => array('width', 'height', 'frameborder', 'src'), + 'iframe' => array('width', 'height', 'frameborder', 'src', 'allowfullscreen'), 'q' => array('cite') ); @@ -227,7 +227,6 @@ class Attribute * @var array */ private $filters = array( - 'filterEmptyAttribute', 'filterAllowedAttribute', 'filterIntegerAttribute', 'rewriteAbsoluteUrl', @@ -281,20 +280,6 @@ class Attribute } /** - * Return true if the value is not empty (remove empty attributes) - * - * @access public - * @param string $tag Tag name - * @param string $attribute Attribute name - * @param string $value Attribute value - * @return boolean - */ - public function filterEmptyAttribute($tag, $attribute, $value) - { - return $value !== ''; - } - - /** * Return true if the value is allowed (remove not allowed attributes) * * @access public |