mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
XW-41 fix xpath to media in hero image in infobox
This commit is contained in:
parent
c6aa0fb787
commit
46683ca8e4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue