We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f4035 commit d06428fCopy full SHA for d06428f
app/code/Magento/PageBuilder/Plugin/Filter/TemplatePlugin.php
@@ -279,6 +279,7 @@ private function generateBackgroundImageStyles(\DOMDocument $document) : void
279
$backgroundImages = $node->attributes->getNamedItem('data-background-images');
280
if ($backgroundImages->nodeValue !== '') {
281
$elementClass = uniqid('background-image-');
282
+ // phpcs:ignore Magento2.Functions.DiscouragedFunction
283
$images = $this->json->unserialize(stripslashes($backgroundImages->nodeValue));
284
if (count($images) > 0) {
285
$style = $xpath->document->createElement(
0 commit comments