Fix problem where stacked AttrTransforms clobber each other.
[htmlpurifier.git] / library / HTMLPurifier / URIFilter / DisableResources.php
blob67538c7bb2e7f6aa710094327d858b2a8a0609ee
1 <?php
3 class HTMLPurifier_URIFilter_DisableResources extends HTMLPurifier_URIFilter
5 public $name = 'DisableResources';
6 public function filter(&$uri, $config, $context) {
7 return !$context->get('EmbeddedURI', true);
11 // vim: et sw=4 sts=4