Skip to content

Commit

Permalink
⏫ Forwardport of #12133 to 2.3-develop branch magento-engcom-team
Browse files Browse the repository at this point in the history
  • Loading branch information
magento-engcom-team committed Jan 30, 2018
1 parent 8c705bf commit 595527a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ $stores = $block->getStoresSortedBySortOrder();
$values = [];
foreach($block->getOptionValues() as $value) {
$value = $value->getData();
$values[] = is_array($value) ? array_map("htmlspecialchars_decode", $value) : $value;
$values[] = is_array($value) ? array_map(function($str) {
return htmlspecialchars_decode($str, ENT_QUOTES);
}, $value) : $value;
}
?>
<script type="text/x-magento-init">
Expand Down

0 comments on commit 595527a

Please sign in to comment.