Skip to content

Commit d923320

Browse files
authored
Update Options.php
Prevent special charachters (like ü or ß) from being inserted as HTML encoded entities (like ü or ß) in widget input fields.
1 parent 243939c commit d923320

File tree

1 file changed

+2
-0
lines changed
  • app/code/Magento/Widget/Block/Adminhtml/Widget

1 file changed

+2
-0
lines changed

app/code/Magento/Widget/Block/Adminhtml/Widget/Options.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ protected function _addField($parameter)
163163
}
164164
}
165165

166+
$data['value'] = html_entity_decode( $data['value'] );
167+
166168
// prepare element dropdown values
167169
if ($values = $parameter->getValues()) {
168170
// dropdown options are specified in configuration

0 commit comments

Comments
 (0)