XW-41 fix xpath to media in hero image in infobox

This commit is contained in:
Bogna Knychala 2016-02-12 18:20:14 +01:00
parent c6aa0fb787
commit 46683ca8e4

View file

@ -5,7 +5,7 @@ class NodeHeroImageSanitizer extends NodeSanitizer {
protected $selectorsWrappingTextToPad = [ 'li' ];
protected $selectorsWrappingAllowedFeatures = [ 'sup[@class="reference"]' ];
protected $selectorsForFullRemoval =
[ 'script', 'span[@itemprop="duration"]', '*[contains(@data-component,"article-media-gallery")]'];
[ 'script', 'span[@itemprop="duration"]', '*[contains(@data-component,"article-media")]'];
/**
* @param $data