summaryrefslogtreecommitdiffstats
path: root/vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php')
-rw-r--r--vendor/fguillot/picofeed/lib/PicoFeed/Filter/Attribute.php17
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