From 12d0d0f4e699fc6de228e5b4eb994276b34324a3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 12 Sep 2015 23:10:01 +0200 Subject: also make go to previous article shortcuts fuzzier, #847 --- .../fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'vendor') 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', @@ -280,20 +279,6 @@ class Attribute return $attributes; } - /** - * 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) * -- cgit v1.2.3