Skip to content

Commit d5f5201

Browse files
remove escapeHtml
1 parent 84e4b7b commit d5f5201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ConfigurableProduct/Ui/DataProvider/Product/Form/Modifier/Data/AssociatedProducts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ protected function prepareVariations()
299299
['id' => $product->getId()]
300300
) . '" target="_blank">' . $this->escaper->escapeHtml($product->getName()) . '</a>',
301301
'sku' => $product->getSku(),
302-
'name' => $this->escaper->escapeHtml($product->getName()),
302+
'name' => $product->getName(),
303303
'qty' => $this->getProductStockQty($product),
304304
'price' => $price,
305305
'price_string' => $currency->toCurrency(sprintf("%f", $price)),
@@ -461,6 +461,6 @@ protected function getVariations()
461461
*/
462462
protected function getAttributes()
463463
{
464-
return (array)$this->configurableType->getConfigurableAttributesAsArray($this->locator->getProduct());
464+
return (array) $this->configurableType->getConfigurableAttributesAsArray($this->locator->getProduct());
465465
}
466466
}

0 commit comments

Comments
 (0)