Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit bf70240

Browse files
MAGETWO-70469: Fix Widget saving non-XML entities to layout_update #10151
2 parents 60878d4 + 27af267 commit bf70240

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Widget/Model/Widget/Instance.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ public function generateLayoutUpdateXml($container, $templatePath = '')
595595
$value = implode(',', $value);
596596
}
597597
if ($name && strlen((string)$value)) {
598+
$value = html_entity_decode($value);
598599
$xml .= '<action method="setData">' .
599600
'<argument name="name" xsi:type="string">' .
600601
$name .

0 commit comments

Comments
 (0)