diff --git a/app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php b/app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php index af2fcce6c2d60..ced7dbfadc71a 100644 --- a/app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php +++ b/app/code/Magento/Store/Ui/Component/Listing/Column/Store/Options.php @@ -81,6 +81,8 @@ protected function sanitizeName($name) preg_match('/\$[:]*{(.)*}/', $name ?: '', $matches); if (count($matches) > 0) { $name = $this->escaper->escapeHtml($this->escaper->escapeJs($name)); + } elseif (preg_match('/^[a-zA-Z\s\']+$/u', $name)) { + return $name; } else { $name = $this->escaper->escapeHtml($name); }