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

Commit 22050bd

Browse files
authored
Fix Widget saving non-XML entities to layout_update
1 parent d6bb4de commit 22050bd

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)